#0F234F#0F234F

#0F234F is a dark, moderate blue. Relative luminance 0.019; OKLCH L 26.9% C 0.085 H 263.4°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#0F234F
RGBrgb(15, 35, 79)
HSLhsl(221, 68%, 18%)
HSVhsv(221, 81%, 31%)
CMYKcmyk(81%, 55.7%, 0%, 69%)
CIE-LABlab(14.78, 10.02, -29.42)
CIE-LCHlch(14.78, 31.08, 288.81°)
OKLaboklab(26.88% -0.0098 -0.0846)
OKLCHoklch(26.88% 0.085 263.4)
XYZxyz(2.2088, 1.8679, 7.6397)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F234F #4F3B0F
analogous
#0F434F #0F234F #1B0F4F
triadic
#0F234F #4F0F23 #234F0F
tetradic
#0F234F #4F0F43 #4F3B0F #0F4F1B
square
#0F234F #4F0F43 #4F3B0F #0F4F1B
split-complementary
#0F234F #4F1B0F #434F0F
monochromatic
#050B1A #050C1C #0F234F #193A82 #2351B6

Accessibility & contrast

On white

15.29
#0F234F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#0F234F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F234F
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F234F#FFFFFF#000000##FFFFFF
##0F234F1.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082851
Deuteranopia (green-blind)
#00224E
Tritanopia (blue-blind)
#002E35
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0f234f;
/* rgb */ color: rgb(15, 35, 79);
/* oklch */ color: oklch(26.9% 0.085 263.4);
Tailwind
colors: {
  custom: {
    50: '#585d81',
    500: '#0f234f',
    950: '#000000',
  },
}
SCSS
$custom: #0f234f;
$custom-light: #585d81;
$custom-dark: #000000;
JSON
{
  "hex": "#0f234f",
  "rgb": {
    "r": 15,
    "g": 35,
    "b": 79
  },
  "hsl": {
    "h": 221.25,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.2688,
    "c": 0.08517,
    "h": 263.4
  },
  "luminance": 0.01868
}

Semantic roles & 50–950 ramp

primary
#0F234F
secondary
#896E31
accent
#B53DEB
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #0F234F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#0F234F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva