#0F224F#0F224F

#0F224F is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.6% C 0.087 H 264.1°. Best body text is #FFFFFF at 15.42:1 contrast (WCAG AA passes).

Color values

HEX#0F224F
RGBrgb(15, 34, 79)
HSLhsl(222, 68%, 18%)
HSVhsv(222, 81%, 31%)
CMYKcmyk(81%, 57%, 0%, 69%)
CIE-LABlab(14.46, 10.78, -29.94)
CIE-LCHlch(14.46, 31.83, 289.80°)
OKLaboklab(26.64% -0.0088 -0.0861)
OKLCHoklch(26.64% 0.087 264.1)
XYZxyz(2.1798, 1.8099, 7.6301)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F224F #4F3C0F
analogous
#0F424F #0F224F #1C0F4F
triadic
#0F224F #4F0F22 #224F0F
tetradic
#0F224F #4F0F42 #4F3C0F #0F4F1C
square
#0F224F #4F0F42 #4F3C0F #0F4F1C
split-complementary
#0F224F #4F1C0F #424F0F
monochromatic
#050B1A #050C1C #0F224F #193882 #234EB6

Accessibility & contrast

On white

15.42
#0F224F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F224F
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F224F#FFFFFF#000000##FFFFFF
##0F224F1.0015.421.3615.42
#FFFFFF15.421.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052851
Deuteranopia (green-blind)
#00224E
Tritanopia (blue-blind)
#002D34
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0f224f;
/* rgb */ color: rgb(15, 34, 79);
/* oklch */ color: oklch(26.6% 0.087 264.1);
Tailwind
colors: {
  custom: {
    50: '#585c81',
    500: '#0f224f',
    950: '#000000',
  },
}
SCSS
$custom: #0f224f;
$custom-light: #585c81;
$custom-dark: #000000;
JSON
{
  "hex": "#0f224f",
  "rgb": {
    "r": 15,
    "g": 34,
    "b": 79
  },
  "hsl": {
    "h": 222.188,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.26635,
    "c": 0.0866,
    "h": 264.1
  },
  "luminance": 0.0181
}

Semantic roles & 50–950 ramp

primary
#0F224F
secondary
#896F31
accent
#B73DEB
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #0F224F

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

Preview Lab → · Contrast checker → · Palette generator →

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