#307FDA

Closest named color: Water Blue (#0E87CC). oklch(59.5% 0.158 254.5), rgb(48, 127, 218).

Aa

Black text reads best on this color (5.17:1).

About this color

#307FDA is a medium-dark, vivid blue. In OKLCH its lightness is 59%, its chroma 0.158 and its hue 255°. Its hue sits on the cool side of the wheel. The nearest named color is Water Blue (#0E87CC), ΔE 0.036 away. Black text reads best on it, at 5.17:1.

Hue familyBlues
Lightnessmedium-dark (59%)
Chromavivid (0.158)
Temperaturecool
Nearest nameWater Blue (#0E87CC)
Black text5.17:1
White text4.05:1

Values

HEX#307FDA
RGBrgb(48, 127, 218)
HSLhsl(212, 70%, 52%)
OKLCHoklch(59.5% 0.158 254.5)

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 #307FDA 4.05:1 AA large text Lc -72.9 Content text, not long reading
Black text on #307FDA 5.17:1 AA Lc 36.7 Non-text elements, placeholder text
#307FDA text on white 4.05:1 AA large text Lc 67.4 Content text, not long reading
#307FDA text on black 5.17:1 AA Lc -34.3 Non-text elements, placeholder text

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 500.

  1. Step 50

    50

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #E0EBF9

    oklch(93.6% 0.022 254.4)

  3. Step 200

    200

    #C6DBF6

    oklch(88.4% 0.044 254.8)

  4. Step 300

    300

    #9FC4F2

    oklch(81% 0.077 254.1)

  5. Step 400

    400

    #69A3EC

    oklch(70.6% 0.124 254.8)

  6. Step 500

    500 (this color)

    #307FDA

    oklch(59.5% 0.158 254.5)

  7. Step 600

    600

    #1172D4

    oklch(55.6% 0.172 254.4)

  8. Step 700

    700

    #005FB8

    oklch(49.1% 0.16 254.6)

  9. Step 800

    800

    #084E95

    oklch(42.7% 0.133 254.5)

  10. Step 900

    900

    #134277

    oklch(37.8% 0.103 254.4)

  11. Step 950

    950

    #0D2745

    oklch(27% 0.064 254)

Export this scale for Tailwind in the Tailwind colors tool

#307FDA 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)#5286DE0.037
Deuteranopia (no green cones)#3377D80.021
Tritanopia (no blue cones)#0095A20.120
Achromatopsia (no color)#7E7E7E0.158

Harmonies

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

Complementary

The opposite hue (180°).

  • #307FDA

    #307FDA

    oklch(59.5% 0.158 254.5)

  • #AA7200

    #AA7200

    oklch(59.6% 0.126 74.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #307FDA

    #307FDA

    oklch(59.5% 0.158 254.5)

  • #008CB0

    #008CB0

    oklch(59.5% 0.112 224.2)

  • #766DD8

    #766DD8

    oklch(59.5% 0.158 284.3)

Open the analogous palette in the generator

Split complementary

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

  • #307FDA

    #307FDA

    oklch(59.5% 0.158 254.5)

  • #C8581B

    #C8581B

    oklch(59.4% 0.158 44.5)

  • #8B8200

    #8B8200

    oklch(59.6% 0.126 104.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #307FDA

    #307FDA

    oklch(59.5% 0.158 254.5)

  • #CB4E61

    #CB4E61

    oklch(59.5% 0.159 14.2)

  • #53921E

    #53921E

    oklch(59.5% 0.158 134.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #307FDA

    #307FDA

    oklch(59.5% 0.158 254.5)

  • #BD5195

    #BD5195

    oklch(59.4% 0.159 344.3)

  • #AA7200

    #AA7200

    oklch(59.6% 0.126 74.9)

  • #00966B

    #00966B

    oklch(59.6% 0.126 164.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #307FDA 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.