#0B224A#0B224A

#0B224A is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.0% C 0.080 H 260.6°. Best body text is #FFFFFF at 15.65:1 contrast (WCAG AA passes).

Color values

HEX#0B224A
RGBrgb(11, 34, 74)
HSLhsl(218, 74%, 17%)
HSVhsv(218, 85%, 29%)
CMYKcmyk(85.1%, 54.1%, 0%, 71%)
CIE-LABlab(13.88, 7.97, -27.46)
CIE-LCHlch(13.88, 28.59, 286.20°)
OKLaboklab(26.02% -0.013 -0.0789)
OKLCHoklch(26.02% 0.08 260.6)
XYZxyz(1.9456, 1.7094, 6.7046)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B224A #4A330B
analogous
#0B424A #0B224A #140B4A
triadic
#0B224A #4A0B22 #224A0B
tetradic
#0B224A #4A0B42 #4A330B #0B4A14
square
#0B224A #4A0B42 #4A330B #0B4A14
split-complementary
#0B224A #4A140B #424A0B
monochromatic
#040C1B #040C1B #0B224A #133A7F #1B53B5

Accessibility & contrast

On white

15.65
#0B224A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#0B224A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B224A
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B224A#FFFFFF#000000##FFFFFF
##0B224A1.0015.651.3415.65
#FFFFFF15.651.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B264B
Deuteranopia (green-blind)
#002149
Tritanopia (blue-blind)
#002C32
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0b224a;
/* rgb */ color: rgb(11, 34, 74);
/* oklch */ color: oklch(26.0% 0.080 260.6);
Tailwind
colors: {
  custom: {
    50: '#555c7d',
    500: '#0b224a',
    950: '#000000',
  },
}
SCSS
$custom: #0b224a;
$custom-light: #555c7d;
$custom-dark: #000000;
JSON
{
  "hex": "#0b224a",
  "rgb": {
    "r": 11,
    "g": 34,
    "b": 74
  },
  "hsl": {
    "h": 218.095,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.2602,
    "c": 0.07998,
    "h": 260.6
  },
  "luminance": 0.0171
}

Semantic roles & 50–950 ramp

primary
#0B224A
secondary
#86652B
accent
#AD37F1
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#030409
muted
#78797B

Preview Lab

Preview with #0B224A

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

Preview Lab → · Contrast checker → · Palette generator →

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