#045BC6

Closest named color: Blue Blue (#2242C7). oklch(49.4% 0.182 258.3), rgb(4, 91, 198).

Aa

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

About this color

#045BC6 is a medium-dark, vivid blue. In OKLCH its lightness is 49%, its chroma 0.182 and its hue 258°. Its hue sits on the cool side of the wheel. The nearest named color is Blue Blue (#2242C7), ΔE 0.057 away. White text reads best on it, at 6.33:1.

Hue familyBlues
Lightnessmedium-dark (49%)
Chromavivid (0.182)
Temperaturecool
Nearest nameBlue Blue (#2242C7)
Black text3.31:1
White text6.33:1

Values

HEX#045BC6
RGBrgb(4, 91, 198)
HSLhsl(213, 96%, 40%)
OKLCHoklch(49.4% 0.182 258.3)

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 #045BC6 6.33:1 AA Lc -85.8 Fine for body text
Black text on #045BC6 3.31:1 AA large text Lc 23.4 Dividers and decoration only
#045BC6 text on white 6.33:1 AA Lc 80.7 Fine for body text
#045BC6 text on black 3.31:1 AA large text Lc -21.2 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

    #E0EBFB

    oklch(93.7% 0.025 257.6)

  3. Step 200

    200

    #C6DBFA

    oklch(88.6% 0.048 258)

  4. Step 300

    300

    #9EC3FA

    oklch(81% 0.088 258.1)

  5. Step 400

    400

    #67A1F7

    oklch(70.7% 0.141 258.1)

  6. Step 500

    500

    #3C86F4

    oklch(63% 0.181 258.5)

  7. Step 600

    600

    #146DE3

    oklch(55.6% 0.196 258.3)

  8. Step 700

    700 (this color)

    #045BC6

    oklch(49.4% 0.182 258.3)

  9. Step 800

    800

    #0A4A9F

    oklch(42.6% 0.151 258.3)

  10. Step 900

    900

    #133F7E

    oklch(37.6% 0.117 258.2)

  11. Step 950

    950

    #0D264A

    oklch(27.1% 0.074 257.9)

Export this scale for Tailwind in the Tailwind colors tool

#045BC6 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)#0068CA0.034
Deuteranopia (no green cones)#0058C40.009
Tritanopia (no blue cones)#0076870.139
Achromatopsia (no color)#6060600.182

Harmonies

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

Complementary

The opposite hue (180°).

  • #045BC6

    #045BC6

    oklch(49.4% 0.182 258.3)

  • #815900

    #815900

    oklch(49.4% 0.103 78.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #045BC6

    #045BC6

    oklch(49.4% 0.182 258.3)

  • #006B8D

    #006B8D

    oklch(49.3% 0.097 228.9)

  • #6246C0

    #6246C0

    oklch(49.4% 0.182 288.5)

Open the analogous palette in the generator

Split complementary

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

  • #045BC6

    #045BC6

    oklch(49.4% 0.182 258.3)

  • #9C4400

    #9C4400

    oklch(49.5% 0.134 48.2)

  • #686500

    #686500

    oklch(49.3% 0.106 107.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #045BC6

    #045BC6

    oklch(49.4% 0.182 258.3)

  • #B11B37

    #B11B37

    oklch(49.3% 0.182 18.3)

  • #2B7400

    #2B7400

    oklch(49.3% 0.153 138.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #045BC6

    #045BC6

    oklch(49.4% 0.182 258.3)

  • #A52273

    #A52273

    oklch(49.4% 0.182 348.2)

  • #815900

    #815900

    oklch(49.4% 0.103 78.3)

  • #007357

    #007357

    oklch(49.4% 0.099 168.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #045BC6 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.