#0F214D#0F214D

#0F214D is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.2% C 0.085 H 264.5°. Best body text is #FFFFFF at 15.61:1 contrast (WCAG AA passes).

Color values

HEX#0F214D
RGBrgb(15, 33, 77)
HSLhsl(223, 67%, 18%)
HSVhsv(223, 81%, 30%)
CMYKcmyk(80.5%, 57.1%, 0%, 69.8%)
CIE-LABlab(13.97, 10.66, -29.36)
CIE-LCHlch(13.97, 31.24, 289.96°)
OKLaboklab(26.22% -0.0081 -0.0845)
OKLCHoklch(26.22% 0.085 264.5)
XYZxyz(2.0799, 1.7249, 7.2431)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F214D #4D3B0F
analogous
#0F404D #0F214D #1C0F4D
triadic
#0F214D #4D0F21 #214D0F
tetradic
#0F214D #4D0F40 #4D3B0F #0F4D1C
square
#0F214D #4D0F40 #4D3B0F #0F4D1C
split-complementary
#0F214D #4D1C0F #404D0F
monochromatic
#050B1A #050B1A #0F214D #193780 #234DB3

Accessibility & contrast

On white

15.61
#0F214D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#0F214D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F214D
15.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F214D#FFFFFF#000000##FFFFFF
##0F214D1.0015.611.3515.61
#FFFFFF15.611.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05274F
Deuteranopia (green-blind)
#00214C
Tritanopia (blue-blind)
#002C33
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #0f214d;
/* rgb */ color: rgb(15, 33, 77);
/* oklch */ color: oklch(26.2% 0.085 264.5);
Tailwind
colors: {
  custom: {
    50: '#585b7f',
    500: '#0f214d',
    950: '#000000',
  },
}
SCSS
$custom: #0f214d;
$custom-light: #585b7f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f214d",
  "rgb": {
    "r": 15,
    "g": 33,
    "b": 77
  },
  "hsl": {
    "h": 222.581,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.26215,
    "c": 0.08485,
    "h": 264.5
  },
  "luminance": 0.01725
}

Semantic roles & 50–950 ramp

primary
#0F214D
secondary
#876E31
accent
#B83EEA
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #0F214D

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

Preview Lab → · Contrast checker → · Palette generator →

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