#0F224B#0F224B

#0F224B is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.3% C 0.080 H 263.3°. Best body text is #FFFFFF at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#0F224B
RGBrgb(15, 34, 75)
HSLhsl(221, 67%, 18%)
HSVhsv(221, 80%, 29%)
CMYKcmyk(80%, 54.7%, 0%, 70.6%)
CIE-LABlab(14.14, 9.02, -27.73)
CIE-LCHlch(14.14, 29.16, 288.03°)
OKLaboklab(26.29% -0.0094 -0.0796)
OKLCHoklch(26.29% 0.08 263.3)
XYZxyz(2.0386, 1.7534, 6.8862)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F224B #4B380F
analogous
#0F404B #0F224B #1A0F4B
triadic
#0F224B #4B0F22 #224B0F
tetradic
#0F224B #4B0F40 #4B380F #0F4B1A
square
#0F224B #4B0F40 #4B380F #0F4B1A
split-complementary
#0F224B #4B1A0F #404B0F
monochromatic
#050C1A #050C1A #0F224B #19397E #2350B1

Accessibility & contrast

On white

15.55
#0F224B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F224B
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F224B#FFFFFF#000000##FFFFFF
##0F224B1.0015.551.3515.55
#FFFFFF15.551.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A274C
Deuteranopia (green-blind)
#00214A
Tritanopia (blue-blind)
#002C32
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #0f224b;
/* rgb */ color: rgb(15, 34, 75);
/* oklch */ color: oklch(26.3% 0.080 263.3);
Tailwind
colors: {
  custom: {
    50: '#575c7e',
    500: '#0f224b',
    950: '#000000',
  },
}
SCSS
$custom: #0f224b;
$custom-light: #575c7e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f224b",
  "rgb": {
    "r": 15,
    "g": 34,
    "b": 75
  },
  "hsl": {
    "h": 221,
    "s": 66.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.26289,
    "c": 0.08017,
    "h": 263.3
  },
  "luminance": 0.01754
}

Semantic roles & 50–950 ramp

primary
#0F224B
secondary
#856A30
accent
#B33EEA
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#03040A
muted
#78797C

Preview Lab

Preview with #0F224B

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

Preview Lab → · Contrast checker → · Palette generator →

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