#0162CD

Closest named color: Azul (#1D5DEC). oklch(51.4% 0.183 257.2), rgb(1, 98, 205).

Aa

White text reads best on this color (5.78:1).

About this color

#0162CD is a medium-dark, vivid blue. In OKLCH its lightness is 51%, its chroma 0.183 and its hue 257°. Its hue sits on the cool side of the wheel. The nearest named color is Azul (#1D5DEC), ΔE 0.051 away. White text reads best on it, at 5.78:1.

Hue familyBlues
Lightnessmedium-dark (51%)
Chromavivid (0.183)
Temperaturecool
Nearest nameAzul (#1D5DEC)
Black text3.62:1
White text5.78:1

Values

HEX#0162CD
RGBrgb(1, 98, 205)
HSLhsl(211, 99%, 40%)
OKLCHoklch(51.4% 0.183 257.2)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #0162CD 5.78:1 AA Lc -83.4 Fine for body text
Black text on #0162CD 3.62:1 AA large text Lc 26.0 Dividers and decoration only
#0162CD text on white 5.78:1 AA Lc 78.1 Fine for body text
#0162CD text on black 3.62:1 AA large text Lc -23.7 Dividers and decoration only

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 700.

  1. Step 50

    50

    #F1F6FE

    oklch(97.2% 0.012 259.8)

  2. Step 100

    100

    #DFEBFB

    oklch(93.6% 0.025 255.6)

  3. Step 200

    200

    #C5DBFA

    oklch(88.5% 0.049 256.9)

  4. Step 300

    300

    #9CC3FA

    oklch(80.9% 0.089 257)

  5. Step 400

    400

    #65A2F7

    oklch(70.8% 0.14 256.9)

  6. Step 500

    500

    #3687F4

    oklch(63.1% 0.181 257.1)

  7. Step 600

    600

    #036EE3

    oklch(55.7% 0.197 257.1)

  8. Step 700

    700 (this color)

    #0162CD

    oklch(51.4% 0.183 257.2)

  9. Step 800

    800

    #014B9F

    oklch(42.7% 0.151 257)

  10. Step 900

    900

    #0F407F

    oklch(37.8% 0.118 257)

  11. Step 950

    950

    #0B264A

    oklch(27.1% 0.074 256.8)

Export this scale for Tailwind in the Tailwind colors tool

#0162CD with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#0C6ED10.033
Deuteranopia (no green cones)#005ECB0.011
Tritanopia (no blue cones)#007D8E0.138
Achromatopsia (no color)#6565650.183

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #0162CD

    #0162CD

    oklch(51.4% 0.183 257.2)

  • #895E00

    #895E00

    oklch(51.5% 0.107 77.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0162CD

    #0162CD

    oklch(51.4% 0.183 257.2)

  • #007293

    #007293

    oklch(51.5% 0.099 226.7)

  • #654DC8

    #654DC8

    oklch(51.4% 0.183 287.1)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #0162CD

    #0162CD

    oklch(51.4% 0.183 257.2)

  • #A64700

    #A64700

    oklch(51.5% 0.142 47.2)

  • #6F6B00

    #6F6B00

    oklch(51.5% 0.11 107.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0162CD

    #0162CD

    oklch(51.4% 0.183 257.2)

  • #B9233F

    #B9233F

    oklch(51.5% 0.184 17.2)

  • #347A00

    #347A00

    oklch(51.4% 0.156 137.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0162CD

    #0162CD

    oklch(51.4% 0.183 257.2)

  • #AB297B

    #AB297B

    oklch(51.3% 0.183 346.9)

  • #895E00

    #895E00

    oklch(51.5% 0.107 77.6)

  • #007A5A

    #007A5A

    oklch(51.4% 0.106 166.8)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #0162CD, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #0162CD in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.