#0F213B#0F213B

#0F213B is a very dark, muted blue. Relative luminance 0.015; OKLCH L 24.8% C 0.055 H 257.7°. Best body text is #FFFFFF at 16.14:1 contrast (WCAG AA passes).

Color values

HEX#0F213B
RGBrgb(15, 33, 59)
HSLhsl(215, 59%, 15%)
HSVhsv(215, 75%, 23%)
CMYKcmyk(74.6%, 44.1%, 0%, 76.9%)
CIE-LABlab(12.64, 2.80, -18.98)
CIE-LCHlch(12.64, 19.18, 278.40°)
OKLaboklab(24.76% -0.0118 -0.0539)
OKLCHoklch(24.76% 0.055 257.7)
XYZxyz(1.5300, 1.5049, 4.3467)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F213B #3B290F
analogous
#0F373B #0F213B #130F3B
triadic
#0F213B #3B0F21 #213B0F
tetradic
#0F213B #3B0F37 #3B290F #0F3B13
square
#0F213B #3B0F37 #3B290F #0F3B13
split-complementary
#0F213B #3B130F #373B0F
monochromatic
#060E18 #060E18 #0F213B #1B3C6C #28589D

Accessibility & contrast

On white

16.14
#0F213B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#0F213B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F213B
16.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F213B#FFFFFF#000000##FFFFFF
##0F213B1.0016.141.3016.14
#FFFFFF16.141.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16233C
Deuteranopia (green-blind)
#0F1F3A
Tritanopia (blue-blind)
#00272B
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0f213b;
/* rgb */ color: rgb(15, 33, 59);
/* oklch */ color: oklch(24.8% 0.055 257.7);
Tailwind
colors: {
  custom: {
    50: '#535b71',
    500: '#0f213b',
    950: '#000000',
  },
}
SCSS
$custom: #0f213b;
$custom-light: #535b71;
$custom-dark: #000000;
JSON
{
  "hex": "#0f213b",
  "rgb": {
    "r": 15,
    "g": 33,
    "b": 59
  },
  "hsl": {
    "h": 215.455,
    "s": 59.459,
    "l": 14.51
  },
  "oklch": {
    "l": 0.24762,
    "c": 0.05521,
    "h": 257.7
  },
  "luminance": 0.01505
}

Semantic roles & 50–950 ramp

primary
#0F213B
secondary
#755930
accent
#A245E3
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#030407
muted
#78797A

Preview Lab

Preview with #0F213B

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

Preview Lab → · Contrast checker → · Palette generator →

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