#3064CD

Closest named color: Royal Blue (#4169E1). oklch(52.8% 0.172 262.3), rgb(48, 100, 205).

Aa

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

About this color

#3064CD is a medium-dark, vivid blue. In OKLCH its lightness is 53%, its chroma 0.172 and its hue 262°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.038 away. White text reads best on it, at 5.48:1.

Hue familyBlues
Lightnessmedium-dark (53%)
Chromavivid (0.172)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text3.83:1
White text5.48:1

Values

HEX#3064CD
RGBrgb(48, 100, 205)
HSLhsl(220, 62%, 50%)
OKLCHoklch(52.8% 0.172 262.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 #3064CD 5.48:1 AA Lc -82.2 Fine for body text
Black text on #3064CD 3.83:1 AA large text Lc 27.2 Dividers and decoration only
#3064CD text on white 5.48:1 AA Lc 76.9 Fine for body text
#3064CD text on black 3.83:1 AA large text Lc -24.9 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 600.

  1. Step 50

    50

    #F2F6FD

    oklch(97.2% 0.01 261.8)

  2. Step 100

    100

    #E2EAF9

    oklch(93.5% 0.022 263.2)

  3. Step 200

    200

    #CADAF6

    oklch(88.5% 0.042 261.7)

  4. Step 300

    300

    #A6C1F4

    oklch(80.9% 0.078 262.9)

  5. Step 400

    400

    #76A0EE

    oklch(70.8% 0.124 262.1)

  6. Step 500

    500

    #5386E8

    oklch(63.2% 0.158 262.1)

  7. Step 600

    600 (this color)

    #3064CD

    oklch(52.8% 0.172 262.3)

  8. Step 700

    700

    #2B5ABA

    oklch(49.1% 0.16 262.5)

  9. Step 800

    800

    #244A96

    oklch(42.6% 0.132 262.3)

  10. Step 900

    900

    #223F78

    oklch(37.8% 0.103 262.3)

  11. Step 950

    950

    #142546

    oklch(26.9% 0.066 262.3)

Export this scale for Tailwind in the Tailwind colors tool

#3064CD 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)#1F71D10.033
Deuteranopia (no green cones)#0062CB0.024
Tritanopia (no blue cones)#007D8F0.134
Achromatopsia (no color)#6969690.173

Harmonies

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

Complementary

The opposite hue (180°).

  • #3064CD

    #3064CD

    oklch(52.8% 0.172 262.3)

  • #8A6400

    #8A6400

    oklch(52.8% 0.109 82.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3064CD

    #3064CD

    oklch(52.8% 0.172 262.3)

  • #00759F

    #00759F

    oklch(52.9% 0.108 232.3)

  • #7151C4

    #7151C4

    oklch(52.8% 0.172 292.3)

Open the analogous palette in the generator

Split complementary

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

  • #3064CD

    #3064CD

    oklch(52.8% 0.172 262.3)

  • #A65000

    #A65000

    oklch(52.9% 0.135 52.4)

  • #6D7100

    #6D7100

    oklch(52.7% 0.117 112.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3064CD

    #3064CD

    oklch(52.8% 0.172 262.3)

  • #BA323A

    #BA323A

    oklch(52.8% 0.172 22.4)

  • #12820D

    #12820D

    oklch(52.8% 0.173 142.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3064CD

    #3064CD

    oklch(52.8% 0.172 262.3)

  • #B03375

    #B03375

    oklch(52.8% 0.172 352.2)

  • #8A6400

    #8A6400

    oklch(52.8% 0.109 82.4)

  • #007E65

    #007E65

    oklch(52.8% 0.102 172.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #3064CD 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.