#0F204D#0F204D

#0F204D is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.0% C 0.086 H 265.2°. Best body text is #FFFFFF at 15.74:1 contrast (WCAG AA passes).

Color values

HEX#0F204D
RGBrgb(15, 32, 77)
HSLhsl(224, 67%, 18%)
HSVhsv(224, 81%, 30%)
CMYKcmyk(80.5%, 58.4%, 0%, 69.8%)
CIE-LABlab(13.65, 11.43, -29.88)
CIE-LCHlch(13.65, 31.99, 290.93°)
OKLaboklab(25.97% -0.0072 -0.086)
OKLCHoklch(25.97% 0.086 265.2)
XYZxyz(2.0526, 1.6702, 7.2339)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F204D #4D3C0F
analogous
#0F3F4D #0F204D #1D0F4D
triadic
#0F204D #4D0F20 #204D0F
tetradic
#0F204D #4D0F3F #4D3C0F #0F4D1D
square
#0F204D #4D0F3F #4D3C0F #0F4D1D
split-complementary
#0F204D #4D1D0F #3F4D0F
monochromatic
#050B1A #050B1A #0F204D #193580 #234BB3

Accessibility & contrast

On white

15.74
#0F204D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#0F204D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F204D
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F204D#FFFFFF#000000##FFFFFF
##0F204D1.0015.741.3315.74
#FFFFFF15.741.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02264F
Deuteranopia (green-blind)
#00204C
Tritanopia (blue-blind)
#002B33
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0f204d;
/* rgb */ color: rgb(15, 32, 77);
/* oklch */ color: oklch(26.0% 0.086 265.2);
Tailwind
colors: {
  custom: {
    50: '#585a7f',
    500: '#0f204d',
    950: '#000000',
  },
}
SCSS
$custom: #0f204d;
$custom-light: #585a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f204d",
  "rgb": {
    "r": 15,
    "g": 32,
    "b": 77
  },
  "hsl": {
    "h": 223.548,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.25972,
    "c": 0.0863,
    "h": 265.2
  },
  "luminance": 0.0167
}

Semantic roles & 50–950 ramp

primary
#0F204D
secondary
#876F31
accent
#BB3EEA
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #0F204D

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

Preview Lab → · Contrast checker → · Palette generator →

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