#0457B3

Closest named color: Mid Blue (#276AB3). oklch(47% 0.162 256.7), rgb(4, 87, 179).

Aa

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

About this color

#0457B3 is a medium-dark, vivid blue. In OKLCH its lightness is 47%, its chroma 0.162 and its hue 257°. Its hue sits on the cool side of the wheel. The nearest named color is Mid Blue (#276AB3), ΔE 0.058 away. White text reads best on it, at 6.95:1.

Hue familyBlues
Lightnessmedium-dark (47%)
Chromavivid (0.162)
Temperaturecool
Nearest nameMid Blue (#276AB3)
Black text3.01:1
White text6.95:1

Values

HEX#0457B3
RGBrgb(4, 87, 179)
HSLhsl(212, 96%, 36%)
OKLCHoklch(47% 0.162 256.7)

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 #0457B3 6.95:1 AA Lc -88.3 Fine for body text
Black text on #0457B3 3.01:1 AA large text Lc 20.7 Dividers and decoration only
#0457B3 text on white 6.95:1 AA Lc 83.3 Fine for body text
#0457B3 text on black 3.01:1 AA large text Lc -18.6 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

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #E0EBF9

    oklch(93.6% 0.022 254.4)

  3. Step 200

    200

    #C7DBF6

    oklch(88.5% 0.043 255.9)

  4. Step 300

    300

    #A0C3F3

    oklch(80.9% 0.078 256.4)

  5. Step 400

    400

    #6CA2EE

    oklch(70.7% 0.126 257.1)

  6. Step 500

    500

    #4289E8

    oklch(63.1% 0.16 256.6)

  7. Step 600

    600

    #1F70D6

    oklch(55.5% 0.174 256.8)

  8. Step 700

    700 (this color)

    #0457B3

    oklch(47% 0.162 256.7)

  9. Step 800

    800

    #124D96

    oklch(42.7% 0.133 256.6)

  10. Step 900

    900

    #174178

    oklch(37.8% 0.105 256.6)

  11. Step 950

    950

    #0F2646

    oklch(26.9% 0.066 257.2)

Export this scale for Tailwind in the Tailwind colors tool

#0457B3 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)#1661B60.029
Deuteranopia (no green cones)#0053B10.011
Tritanopia (no blue cones)#006E7C0.123
Achromatopsia (no color)#5959590.162

Harmonies

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

Complementary

The opposite hue (180°).

  • #0457B3

    #0457B3

    oklch(47% 0.162 256.7)

  • #7A5200

    #7A5200

    oklch(47.1% 0.099 76.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0457B3

    #0457B3

    oklch(47% 0.162 256.7)

  • #006482

    #006482

    oklch(46.9% 0.091 227.2)

  • #5845AF

    #5845AF

    oklch(47% 0.162 286.6)

Open the analogous palette in the generator

Split complementary

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

  • #0457B3

    #0457B3

    oklch(47% 0.162 256.7)

  • #933D00

    #933D00

    oklch(47% 0.131 46.6)

  • #625E00

    #625E00

    oklch(47% 0.101 106.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0457B3

    #0457B3

    oklch(47% 0.162 256.7)

  • #A22239

    #A22239

    oklch(47.1% 0.163 16.7)

  • #2F6C00

    #2F6C00

    oklch(47.2% 0.142 136.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0457B3

    #0457B3

    oklch(47% 0.162 256.7)

  • #96276D

    #96276D

    oklch(47% 0.162 346.5)

  • #7A5200

    #7A5200

    oklch(47.1% 0.099 76.3)

  • #006C4F

    #006C4F

    oklch(47.1% 0.097 166.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #0457B3 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.