#0F224E#0F224E

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

Color values

HEX#0F224E
RGBrgb(15, 34, 78)
HSLhsl(222, 68%, 18%)
HSVhsv(222, 81%, 31%)
CMYKcmyk(80.8%, 56.4%, 0%, 69.4%)
CIE-LABlab(14.37, 10.34, -29.39)
CIE-LCHlch(14.37, 31.16, 289.39°)
OKLaboklab(26.55% -0.009 -0.0845)
OKLCHoklch(26.55% 0.085 263.9)
XYZxyz(2.1437, 1.7954, 7.4398)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F224E #4E3B0F
analogous
#0F414E #0F224E #1B0F4E
triadic
#0F224E #4E0F22 #224E0F
tetradic
#0F224E #4E0F41 #4E3B0F #0F4E1B
square
#0F224E #4E0F41 #4E3B0F #0F4E1B
split-complementary
#0F224E #4E1B0F #414E0F
monochromatic
#050B1A #050C1B #0F224E #193881 #234FB5

Accessibility & contrast

On white

15.45
#0F224E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F224E
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F224E#FFFFFF#000000##FFFFFF
##0F224E1.0015.451.3615.45
#FFFFFF15.451.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062750
Deuteranopia (green-blind)
#00224D
Tritanopia (blue-blind)
#002D34
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #0f224e;
/* rgb */ color: rgb(15, 34, 78);
/* oklch */ color: oklch(26.5% 0.085 263.9);
Tailwind
colors: {
  custom: {
    50: '#585c80',
    500: '#0f224e',
    950: '#000000',
  },
}
SCSS
$custom: #0f224e;
$custom-light: #585c80;
$custom-dark: #000000;
JSON
{
  "hex": "#0f224e",
  "rgb": {
    "r": 15,
    "g": 34,
    "b": 78
  },
  "hsl": {
    "h": 221.905,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.26547,
    "c": 0.08501,
    "h": 263.9
  },
  "luminance": 0.01796
}

Semantic roles & 50–950 ramp

primary
#0F224E
secondary
#886E31
accent
#B63DEB
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #0F224E

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

Preview Lab → · Contrast checker → · Palette generator →

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