#0F213C#0F213C

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

Color values

HEX#0F213C
RGBrgb(15, 33, 60)
HSLhsl(216, 60%, 15%)
HSVhsv(216, 75%, 24%)
CMYKcmyk(75%, 45%, 0%, 76.5%)
CIE-LABlab(12.71, 3.23, -19.58)
CIE-LCHlch(12.71, 19.84, 279.38°)
OKLaboklab(24.83% -0.0115 -0.0557)
OKLCHoklch(24.83% 0.057 258.3)
XYZxyz(1.5562, 1.5154, 4.4846)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F213C #3C2A0F
analogous
#0F383C #0F213C #140F3C
triadic
#0F213C #3C0F21 #213C0F
tetradic
#0F213C #3C0F38 #3C2A0F #0F3C14
square
#0F213C #3C0F38 #3C2A0F #0F3C14
split-complementary
#0F213C #3C140F #383C0F
monochromatic
#060D18 #060D18 #0F213C #1B3C6D #27579E

Accessibility & contrast

On white

16.11
#0F213C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F213C
16.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F213C#FFFFFF#000000##FFFFFF
##0F213C1.0016.111.3016.11
#FFFFFF16.111.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15233D
Deuteranopia (green-blind)
#0E1F3B
Tritanopia (blue-blind)
#00272B
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0f213c;
/* rgb */ color: rgb(15, 33, 60);
/* oklch */ color: oklch(24.8% 0.057 258.3);
Tailwind
colors: {
  custom: {
    50: '#535b72',
    500: '#0f213c',
    950: '#000000',
  },
}
SCSS
$custom: #0f213c;
$custom-light: #535b72;
$custom-dark: #000000;
JSON
{
  "hex": "#0f213c",
  "rgb": {
    "r": 15,
    "g": 33,
    "b": 60
  },
  "hsl": {
    "h": 216,
    "s": 60,
    "l": 14.706
  },
  "oklch": {
    "l": 0.24835,
    "c": 0.05687,
    "h": 258.3
  },
  "luminance": 0.01516
}

Semantic roles & 50–950 ramp

primary
#0F213C
secondary
#765A30
accent
#A445E3
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#030408
muted
#78797B

Preview Lab

Preview with #0F213C

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

Preview Lab → · Contrast checker → · Palette generator →

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