#0B224B#0B224B

#0B224B is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.1% C 0.082 H 260.9°. Best body text is #FFFFFF at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#0B224B
RGBrgb(11, 34, 75)
HSLhsl(218, 74%, 17%)
HSVhsv(218, 85%, 29%)
CMYKcmyk(85.3%, 54.7%, 0%, 70.6%)
CIE-LABlab(13.96, 8.43, -28.02)
CIE-LCHlch(13.96, 29.26, 286.74°)
OKLaboklab(26.11% -0.0129 -0.0806)
OKLCHoklch(26.11% 0.082 260.9)
XYZxyz(1.9796, 1.7230, 6.8835)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B224B #4B340B
analogous
#0B424B #0B224B #140B4B
triadic
#0B224B #4B0B22 #224B0B
tetradic
#0B224B #4B0B42 #4B340B #0B4B14
square
#0B224B #4B0B42 #4B340B #0B4B14
split-complementary
#0B224B #4B140B #424B0B
monochromatic
#040C1B #040C1B #0B224B #133A80 #1B52B6

Accessibility & contrast

On white

15.62
#0B224B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B224B
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B224B#FFFFFF#000000##FFFFFF
##0B224B1.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.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: #0b224b;
/* rgb */ color: rgb(11, 34, 75);
/* oklch */ color: oklch(26.1% 0.082 260.9);
Tailwind
colors: {
  custom: {
    50: '#565c7e',
    500: '#0b224b',
    950: '#000000',
  },
}
SCSS
$custom: #0b224b;
$custom-light: #565c7e;
$custom-dark: #000000;
JSON
{
  "hex": "#0b224b",
  "rgb": {
    "r": 11,
    "g": 34,
    "b": 75
  },
  "hsl": {
    "h": 218.438,
    "s": 74.419,
    "l": 16.863
  },
  "oklch": {
    "l": 0.26106,
    "c": 0.08158,
    "h": 260.9
  },
  "luminance": 0.01723
}

Semantic roles & 50–950 ramp

primary
#0B224B
secondary
#87662B
accent
#AE37F1
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#03040A
muted
#78797C

Preview Lab

Preview with #0B224B

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

Preview Lab → · Contrast checker → · Palette generator →

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