#08224B#08224B

#08224B is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.0% C 0.083 H 259.4°. Best body text is #FFFFFF at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#08224B
RGBrgb(8, 34, 75)
HSLhsl(217, 81%, 16%)
HSVhsv(217, 89%, 29%)
CMYKcmyk(89.3%, 54.7%, 0%, 70.6%)
CIE-LABlab(13.85, 8.03, -28.21)
CIE-LCHlch(13.85, 29.33, 285.90°)
OKLaboklab(25.99% -0.0152 -0.0812)
OKLCHoklch(25.99% 0.083 259.4)
XYZxyz(1.9417, 1.7034, 6.8817)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08224B #4B3108
analogous
#08444B #08224B #0F084B
triadic
#08224B #4B0822 #224B08
tetradic
#08224B #4B0844 #4B3108 #084B0F
square
#08224B #4B0844 #4B3108 #084B0F
split-complementary
#08224B #4B0F08 #444B08
monochromatic
#030D1C #030D1C #08224B #0E3B82 #1454BA

Accessibility & contrast

On white

15.66
#08224B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#08224B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08224B
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08224B#FFFFFF#000000##FFFFFF
##08224B1.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09274D
Deuteranopia (green-blind)
#00204A
Tritanopia (blue-blind)
#002C32
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #08224b;
/* rgb */ color: rgb(8, 34, 75);
/* oklch */ color: oklch(26.0% 0.083 259.4);
Tailwind
colors: {
  custom: {
    50: '#555c7e',
    500: '#08224b',
    950: '#000000',
  },
}
SCSS
$custom: #08224b;
$custom-light: #555c7e;
$custom-dark: #000000;
JSON
{
  "hex": "#08224b",
  "rgb": {
    "r": 8,
    "g": 34,
    "b": 75
  },
  "hsl": {
    "h": 216.716,
    "s": 80.723,
    "l": 16.275
  },
  "oklch": {
    "l": 0.25987,
    "c": 0.08257,
    "h": 259.4
  },
  "luminance": 0.01704
}

Semantic roles & 50–950 ramp

primary
#08224B
secondary
#896226
accent
#AA31F7
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#03040A
muted
#78797C

Preview Lab

Preview with #08224B

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

Preview Lab → · Contrast checker → · Palette generator →

#08224B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva