#0F203B#0F203B

#0F203B is a very dark, muted blue. Relative luminance 0.015; OKLCH L 24.5% C 0.057 H 259.3°. Best body text is #FFFFFF at 16.28:1 contrast (WCAG AA passes).

Color values

HEX#0F203B
RGBrgb(15, 32, 59)
HSLhsl(217, 59%, 15%)
HSVhsv(217, 75%, 23%)
CMYKcmyk(74.6%, 45.8%, 0%, 76.9%)
CIE-LABlab(12.29, 3.56, -19.53)
CIE-LCHlch(12.29, 19.86, 280.32°)
OKLaboklab(24.49% -0.0105 -0.0556)
OKLCHoklch(24.49% 0.057 259.3)
XYZxyz(1.5026, 1.4502, 4.3376)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F203B #3B2A0F
analogous
#0F363B #0F203B #140F3B
triadic
#0F203B #3B0F20 #203B0F
tetradic
#0F203B #3B0F36 #3B2A0F #0F3B14
square
#0F203B #3B0F36 #3B2A0F #0F3B14
split-complementary
#0F203B #3B140F #363B0F
monochromatic
#060D18 #060D18 #0F203B #1B3A6C #28559D

Accessibility & contrast

On white

16.28
#0F203B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#0F203B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F203B
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F203B#FFFFFF#000000##FFFFFF
##0F203B1.0016.281.2916.28
#FFFFFF16.281.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14223C
Deuteranopia (green-blind)
#0E1E3A
Tritanopia (blue-blind)
#00262A
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #0f203b;
/* rgb */ color: rgb(15, 32, 59);
/* oklch */ color: oklch(24.5% 0.057 259.3);
Tailwind
colors: {
  custom: {
    50: '#535b71',
    500: '#0f203b',
    950: '#000000',
  },
}
SCSS
$custom: #0f203b;
$custom-light: #535b71;
$custom-dark: #000000;
JSON
{
  "hex": "#0f203b",
  "rgb": {
    "r": 15,
    "g": 32,
    "b": 59
  },
  "hsl": {
    "h": 216.818,
    "s": 59.459,
    "l": 14.51
  },
  "oklch": {
    "l": 0.24489,
    "c": 0.05658,
    "h": 259.3
  },
  "luminance": 0.0145
}

Semantic roles & 50–950 ramp

primary
#0F203B
secondary
#755B30
accent
#A645E3
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#030407
muted
#78797A

Preview Lab

Preview with #0F203B

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

Preview Lab → · Contrast checker → · Palette generator →

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