#0F214A#0F214A

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

Color values

HEX#0F214A
RGBrgb(15, 33, 74)
HSLhsl(222, 66%, 17%)
HSVhsv(222, 80%, 29%)
CMYKcmyk(79.7%, 55.4%, 0%, 71%)
CIE-LABlab(13.73, 9.35, -27.69)
CIE-LCHlch(13.73, 29.23, 288.65°)
OKLaboklab(25.95% -0.0085 -0.0795)
OKLCHoklch(25.95% 0.08 263.9)
XYZxyz(1.9765, 1.6835, 6.6980)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F214A #4A380F
analogous
#0F3E4A #0F214A #1B0F4A
triadic
#0F214A #4A0F21 #214A0F
tetradic
#0F214A #4A0F3E #4A380F #0F4A1B
square
#0F214A #4A0F3E #4A380F #0F4A1B
split-complementary
#0F214A #4A1B0F #3E4A0F
monochromatic
#050B19 #050B19 #0F214A #19387D #244EB0

Accessibility & contrast

On white

15.71
#0F214A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F214A
15.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F214A#FFFFFF#000000##FFFFFF
##0F214A1.0015.711.3415.71
#FFFFFF15.711.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09264B
Deuteranopia (green-blind)
#002049
Tritanopia (blue-blind)
#002B32
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0f214a;
/* rgb */ color: rgb(15, 33, 74);
/* oklch */ color: oklch(26.0% 0.080 263.9);
Tailwind
colors: {
  custom: {
    50: '#575b7d',
    500: '#0f214a',
    950: '#000000',
  },
}
SCSS
$custom: #0f214a;
$custom-light: #575b7d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f214a",
  "rgb": {
    "r": 15,
    "g": 33,
    "b": 74
  },
  "hsl": {
    "h": 221.695,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.25954,
    "c": 0.08001,
    "h": 263.9
  },
  "luminance": 0.01684
}

Semantic roles & 50–950 ramp

primary
#0F214A
secondary
#846B30
accent
#B53FE9
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#030409
muted
#78797B

Preview Lab

Preview with #0F214A

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

Preview Lab → · Contrast checker → · Palette generator →

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