#0B224F#0B224F

#0B224F is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.5% C 0.088 H 262.0°. Best body text is #FFFFFF at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#0B224F
RGBrgb(11, 34, 79)
HSLhsl(220, 76%, 18%)
HSVhsv(220, 86%, 31%)
CMYKcmyk(86.1%, 57%, 0%, 69%)
CIE-LABlab(14.28, 10.23, -30.23)
CIE-LCHlch(14.28, 31.91, 288.69°)
OKLaboklab(26.46% -0.0123 -0.0871)
OKLCHoklch(26.46% 0.088 262)
XYZxyz(2.1208, 1.7795, 7.6273)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B224F #4F380B
analogous
#0B444F #0B224F #160B4F
triadic
#0B224F #4F0B22 #224F0B
tetradic
#0B224F #4F0B44 #4F380B #0B4F16
square
#0B224F #4F0B44 #4F380B #0B4F16
split-complementary
#0B224F #4F160B #444F0B
monochromatic
#040C1B #040C1B #0B224F #123985 #1A50BA

Accessibility & contrast

On white

15.49
#0B224F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B224F
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B224F#FFFFFF#000000##FFFFFF
##0B224F1.0015.491.3615.49
#FFFFFF15.491.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042751
Deuteranopia (green-blind)
#00214E
Tritanopia (blue-blind)
#002D34
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #0b224f;
/* rgb */ color: rgb(11, 34, 79);
/* oklch */ color: oklch(26.5% 0.088 262.0);
Tailwind
colors: {
  custom: {
    50: '#575c81',
    500: '#0b224f',
    950: '#000000',
  },
}
SCSS
$custom: #0b224f;
$custom-light: #575c81;
$custom-dark: #000000;
JSON
{
  "hex": "#0b224f",
  "rgb": {
    "r": 11,
    "g": 34,
    "b": 79
  },
  "hsl": {
    "h": 219.706,
    "s": 75.556,
    "l": 17.647
  },
  "oklch": {
    "l": 0.26456,
    "c": 0.08793,
    "h": 262
  },
  "luminance": 0.0178
}

Semantic roles & 50–950 ramp

primary
#0B224F
secondary
#8B6A2B
accent
#B236F2
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #0B224F

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

Preview Lab → · Contrast checker → · Palette generator →

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