#0F204B#0F204B

#0F204B is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.8% C 0.083 H 264.9°. Best body text is #FFFFFF at 15.81:1 contrast (WCAG AA passes).

Color values

HEX#0F204B
RGBrgb(15, 32, 75)
HSLhsl(223, 67%, 18%)
HSVhsv(223, 80%, 29%)
CMYKcmyk(80%, 57.3%, 0%, 70.6%)
CIE-LABlab(13.49, 10.55, -28.77)
CIE-LCHlch(13.49, 30.65, 290.14°)
OKLaboklab(25.79% -0.0074 -0.0827)
OKLCHoklch(25.79% 0.083 264.9)
XYZxyz(1.9831, 1.6424, 6.8677)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F204B #4B3A0F
analogous
#0F3E4B #0F204B #1C0F4B
triadic
#0F204B #4B0F20 #204B0F
tetradic
#0F204B #4B0F3E #4B3A0F #0F4B1C
square
#0F204B #4B0F3E #4B3A0F #0F4B1C
split-complementary
#0F204B #4B1C0F #3E4B0F
monochromatic
#050B1A #050B1A #0F204B #19367E #234CB1

Accessibility & contrast

On white

15.81
#0F204B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F204B
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F204B#FFFFFF#000000##FFFFFF
##0F204B1.0015.811.3315.81
#FFFFFF15.811.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05254D
Deuteranopia (green-blind)
#00204A
Tritanopia (blue-blind)
#002A32
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0f204b;
/* rgb */ color: rgb(15, 32, 75);
/* oklch */ color: oklch(25.8% 0.083 264.9);
Tailwind
colors: {
  custom: {
    50: '#575a7e',
    500: '#0f204b',
    950: '#000000',
  },
}
SCSS
$custom: #0f204b;
$custom-light: #575a7e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f204b",
  "rgb": {
    "r": 15,
    "g": 32,
    "b": 75
  },
  "hsl": {
    "h": 223,
    "s": 66.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.25794,
    "c": 0.08308,
    "h": 264.9
  },
  "luminance": 0.01643
}

Semantic roles & 50–950 ramp

primary
#0F204B
secondary
#856D30
accent
#B93EEA
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#03030A
muted
#78787C

Preview Lab

Preview with #0F204B

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

Preview Lab → · Contrast checker → · Palette generator →

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