#123795

Closest named color: Sapphire (#2138AB). oklch(37.9% 0.16 263.9), rgb(18, 55, 149).

Aa

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

About this color

#123795 is a dark, vivid blue. In OKLCH its lightness is 38%, its chroma 0.160 and its hue 264°. Its hue sits on the cool side of the wheel. The nearest named color is Sapphire (#2138AB), ΔE 0.039 away. White text reads best on it, at 10.46:1.

Hue familyBlues
Lightnessdark (38%)
Chromavivid (0.160)
Temperaturecool
Nearest nameSapphire (#2138AB)
Black text2.00:1
White text10.46:1

Values

HEX#123795
RGBrgb(18, 55, 149)
HSLhsl(223, 78%, 33%)
OKLCHoklch(37.9% 0.16 263.9)

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 #123795 10.46:1 AAA Lc -97.6 Preferred for body text
Black text on #123795 2.00:1 Fails Lc 10.4 Not readable
#123795 text on white 10.46:1 AAA Lc 93.6 Preferred for body text
#123795 text on black 2.00:1 Fails Lc -9.0 Not readable

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

  1. Step 50

    50

    #F1F6FF

    oklch(97.2% 0.013 262.4)

  2. Step 100

    100

    #E0EAFF

    oklch(93.6% 0.03 265.3)

  3. Step 200

    200

    #C7DAFF

    oklch(88.6% 0.055 263.7)

  4. Step 300

    300

    #A1C0FF

    oklch(80.8% 0.096 264.1)

  5. Step 400

    400

    #6F9DFF

    oklch(70.7% 0.152 263.9)

  6. Step 500

    500

    #4980FF

    oklch(63% 0.198 264)

  7. Step 600

    600

    #225FFF

    oklch(55.5% 0.245 263.9)

  8. Step 700

    700

    #0D47EA

    oklch(49.1% 0.249 263.9)

  9. Step 800

    800

    #0D3DBC

    oklch(42.7% 0.204 263.8)

  10. Step 900

    900 (this color)

    #123795

    oklch(37.9% 0.16 263.9)

  11. Step 950

    950

    #0B2157

    oklch(27% 0.102 264)

Export this scale for Tailwind in the Tailwind colors tool

#123795 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)#0046980.038
Deuteranopia (no green cones)#003A930.011
Tritanopia (no blue cones)#0050600.124
Achromatopsia (no color)#3F3F3F0.160

Harmonies

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

Complementary

The opposite hue (180°).

  • #123795

    #123795

    oklch(37.9% 0.16 263.9)

  • #553E00

    #553E00

    oklch(37.9% 0.078 84.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #123795

    #123795

    oklch(37.9% 0.16 263.9)

  • #004865

    #004865

    oklch(37.8% 0.079 233.7)

  • #4A258C

    #4A258C

    oklch(37.8% 0.159 293.8)

Open the analogous palette in the generator

Split complementary

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

  • #123795

    #123795

    oklch(37.9% 0.16 263.9)

  • #673100

    #673100

    oklch(37.8% 0.095 54.2)

  • #424600

    #424600

    oklch(37.8% 0.084 113.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #123795

    #123795

    oklch(37.9% 0.16 263.9)

  • #800014

    #800014

    oklch(37.8% 0.153 23.7)

  • #00510A

    #00510A

    oklch(37.7% 0.123 143.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #123795

    #123795

    oklch(37.9% 0.16 263.9)

  • #7A0048

    #7A0048

    oklch(37.9% 0.156 353.8)

  • #553E00

    #553E00

    oklch(37.9% 0.078 84.8)

  • #004E3F

    #004E3F

    oklch(37.8% 0.072 174.1)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #123795.

Similar named colors

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

Use #123795 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.