#0F274F

Closest named color: Marine (#042E60). oklch(27.9% 0.08 260), rgb(15, 39, 79).

Aa

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

About this color

#0F274F is a dark, moderately saturated blue. In OKLCH its lightness is 28%, its chroma 0.080 and its hue 260°. Its hue sits on the cool side of the wheel. The nearest named color is Marine (#042E60), ΔE 0.035 away. White text reads best on it, at 14.75:1.

Hue familyBlues
Lightnessdark (28%)
Chromamoderately saturated (0.080)
Temperaturecool
Nearest nameMarine (#042E60)
Black text1.42:1
White text14.75:1

Values

HEX#0F274F
RGBrgb(15, 39, 79)
HSLhsl(218, 68%, 18%)
OKLCHoklch(27.9% 0.08 260)

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 #0F274F 14.75:1 AAA Lc -104.2 Preferred for body text
Black text on #0F274F 1.42:1 Fails Lc 0.0 Not readable
#0F274F text on white 14.75:1 AAA Lc 101.4 Preferred for body text
#0F274F text on black 1.42:1 Fails Lc 0.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 950.

  1. Step 50

    50

    #F1F6FE

    oklch(97.2% 0.012 259.8)

  2. Step 100

    100

    #DFEBFD

    oklch(93.6% 0.028 258.4)

  3. Step 200

    200

    #C5DAFC

    oklch(88.4% 0.052 260)

  4. Step 300

    300

    #9DC2FE

    oklch(80.9% 0.094 259.9)

  5. Step 400

    400

    #679FFD

    oklch(70.6% 0.151 260.2)

  6. Step 500

    500

    #3C84FB

    oklch(63.1% 0.192 260)

  7. Step 600

    600

    #176AEB

    oklch(55.7% 0.209 260)

  8. Step 700

    700

    #0757CC

    oklch(49.1% 0.194 260)

  9. Step 800

    800

    #0C48A5

    oklch(42.7% 0.161 260)

  10. Step 900

    900

    #143E83

    oklch(37.8% 0.125 260)

  11. Step 950

    950 (this color)

    #0F274F

    oklch(27.9% 0.08 260)

Export this scale for Tailwind in the Tailwind colors tool

#0F274F 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)#122B510.014
Deuteranopia (no green cones)#05254E0.012
Tritanopia (no blue cones)#0030370.061
Achromatopsia (no color)#2828280.080

Harmonies

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

Complementary

The opposite hue (180°).

  • #0F274F

    #0F274F

    oklch(27.9% 0.08 260)

  • #372500

    #372500

    oklch(27.9% 0.058 81)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0F274F

    #0F274F

    oklch(27.9% 0.08 260)

  • #002D3F

    #002D3F

    oklch(27.9% 0.056 231)

  • #29204C

    #29204C

    oklch(28% 0.078 289.8)

Open the analogous palette in the generator

Split complementary

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

  • #0F274F

    #0F274F

    oklch(27.9% 0.08 260)

  • #441B00

    #441B00

    oklch(27.9% 0.074 50)

  • #2B2B00

    #2B2B00

    oklch(28% 0.061 109.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0F274F

    #0F274F

    oklch(27.9% 0.08 260)

  • #481418

    #481418

    oklch(27.9% 0.079 19.5)

  • #0F3106

    #0F3106

    oklch(27.8% 0.079 139.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0F274F

    #0F274F

    oklch(27.9% 0.08 260)

  • #44142E

    #44142E

    oklch(27.9% 0.081 350)

  • #372500

    #372500

    oklch(27.9% 0.058 81)

  • #003124

    #003124

    oklch(27.8% 0.055 169.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #0F274F 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.