#0F224D#0F224D

#0F224D is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.5% C 0.083 H 263.7°. Best body text is #FFFFFF at 15.48:1 contrast (WCAG AA passes).

Color values

HEX#0F224D
RGBrgb(15, 34, 77)
HSLhsl(222, 67%, 18%)
HSVhsv(222, 81%, 30%)
CMYKcmyk(80.5%, 55.8%, 0%, 69.8%)
CIE-LABlab(14.29, 9.90, -28.84)
CIE-LCHlch(14.29, 30.49, 288.95°)
OKLaboklab(26.46% -0.0091 -0.0829)
OKLCHoklch(26.46% 0.083 263.7)
XYZxyz(2.1081, 1.7812, 7.2524)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F224D #4D3A0F
analogous
#0F414D #0F224D #1B0F4D
triadic
#0F224D #4D0F22 #224D0F
tetradic
#0F224D #4D0F41 #4D3A0F #0F4D1B
square
#0F224D #4D0F41 #4D3A0F #0F4D1B
split-complementary
#0F224D #4D1B0F #414D0F
monochromatic
#050B1A #050B1A #0F224D #193980 #234FB3

Accessibility & contrast

On white

15.48
#0F224D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#0F224D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F224D
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F224D#FFFFFF#000000##FFFFFF
##0F224D1.0015.481.3615.48
#FFFFFF15.481.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f224d;
/* rgb */ color: rgb(15, 34, 77);
/* oklch */ color: oklch(26.5% 0.083 263.7);
Tailwind
colors: {
  custom: {
    50: '#575c7f',
    500: '#0f224d',
    950: '#000000',
  },
}
SCSS
$custom: #0f224d;
$custom-light: #575c7f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f224d",
  "rgb": {
    "r": 15,
    "g": 34,
    "b": 77
  },
  "hsl": {
    "h": 221.613,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.2646,
    "c": 0.0834,
    "h": 263.7
  },
  "luminance": 0.01781
}

Semantic roles & 50–950 ramp

primary
#0F224D
secondary
#876D31
accent
#B53EEA
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #0F224D

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

Preview Lab → · Contrast checker → · Palette generator →

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