#0F224C#0F224C

#0F224C is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.4% C 0.082 H 263.5°. Best body text is #FFFFFF at 15.52:1 contrast (WCAG AA passes).

Color values

HEX#0F224C
RGBrgb(15, 34, 76)
HSLhsl(221, 67%, 18%)
HSVhsv(221, 80%, 30%)
CMYKcmyk(80.3%, 55.3%, 0%, 70.2%)
CIE-LABlab(14.21, 9.46, -28.28)
CIE-LCHlch(14.21, 29.83, 288.50°)
OKLaboklab(26.37% -0.0093 -0.0813)
OKLCHoklch(26.37% 0.082 263.5)
XYZxyz(2.0731, 1.7672, 7.0679)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F224C #4C390F
analogous
#0F404C #0F224C #1A0F4C
triadic
#0F224C #4C0F22 #224C0F
tetradic
#0F224C #4C0F40 #4C390F #0F4C1A
square
#0F224C #4C0F40 #4C390F #0F4C1A
split-complementary
#0F224C #4C1A0F #404C0F
monochromatic
#050B1A #050B1A #0F224C #19397F #2350B2

Accessibility & contrast

On white

15.52
#0F224C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F224C
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F224C#FFFFFF#000000##FFFFFF
##0F224C1.0015.521.3515.52
#FFFFFF15.521.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09274E
Deuteranopia (green-blind)
#00214B
Tritanopia (blue-blind)
#002C33
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #0f224c;
/* rgb */ color: rgb(15, 34, 76);
/* oklch */ color: oklch(26.4% 0.082 263.5);
Tailwind
colors: {
  custom: {
    50: '#575c7e',
    500: '#0f224c',
    950: '#000000',
  },
}
SCSS
$custom: #0f224c;
$custom-light: #575c7e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f224c",
  "rgb": {
    "r": 15,
    "g": 34,
    "b": 76
  },
  "hsl": {
    "h": 221.311,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.26374,
    "c": 0.0818,
    "h": 263.5
  },
  "luminance": 0.01767
}

Semantic roles & 50–950 ramp

primary
#0F224C
secondary
#866C31
accent
#B43EEA
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #0F224C

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

Preview Lab → · Contrast checker → · Palette generator →

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