#0F214B#0F214B

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

Color values

HEX#0F214B
RGBrgb(15, 33, 75)
HSLhsl(222, 67%, 18%)
HSVhsv(222, 80%, 29%)
CMYKcmyk(80%, 56%, 0%, 70.6%)
CIE-LABlab(13.81, 9.79, -28.25)
CIE-LCHlch(13.81, 29.90, 289.11°)
OKLaboklab(26.04% -0.0084 -0.0812)
OKLCHoklch(26.04% 0.082 264.1)
XYZxyz(2.0104, 1.6971, 6.8769)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F214B #4B390F
analogous
#0F3F4B #0F214B #1B0F4B
triadic
#0F214B #4B0F21 #214B0F
tetradic
#0F214B #4B0F3F #4B390F #0F4B1B
square
#0F214B #4B0F3F #4B390F #0F4B1B
split-complementary
#0F214B #4B1B0F #3F4B0F
monochromatic
#050B1A #050B1A #0F214B #19377E #234EB1

Accessibility & contrast

On white

15.68
#0F214B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#0F214B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F214B
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F214B#FFFFFF#000000##FFFFFF
##0F214B1.0015.681.3415.68
#FFFFFF15.681.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08264D
Deuteranopia (green-blind)
#00214A
Tritanopia (blue-blind)
#002B32
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0f214b;
/* rgb */ color: rgb(15, 33, 75);
/* oklch */ color: oklch(26.0% 0.082 264.1);
Tailwind
colors: {
  custom: {
    50: '#575b7e',
    500: '#0f214b',
    950: '#000000',
  },
}
SCSS
$custom: #0f214b;
$custom-light: #575b7e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f214b",
  "rgb": {
    "r": 15,
    "g": 33,
    "b": 75
  },
  "hsl": {
    "h": 222,
    "s": 66.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.2604,
    "c": 0.08162,
    "h": 264.1
  },
  "luminance": 0.01697
}

Semantic roles & 50–950 ramp

primary
#0F214B
secondary
#856C30
accent
#B63EEA
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#03040A
muted
#78797C

Preview Lab

Preview with #0F214B

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

Preview Lab → · Contrast checker → · Palette generator →

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