#08223E#08223E

#08223E is a very dark, moderate cyan. Relative luminance 0.015; OKLCH L 24.9% C 0.062 H 252.9°. Best body text is #FFFFFF at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#08223E
RGBrgb(8, 34, 62)
HSLhsl(211, 77%, 14%)
HSVhsv(211, 87%, 24%)
CMYKcmyk(87.1%, 45.2%, 0%, 75.7%)
CIE-LABlab(12.88, 2.07, -20.73)
CIE-LCHlch(12.88, 20.83, 275.71°)
OKLaboklab(24.93% -0.0182 -0.0592)
OKLCHoklch(24.93% 0.062 252.9)
XYZxyz(1.5413, 1.5433, 4.7731)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08223E #3E2408
analogous
#083D3E #08223E #09083E
triadic
#08223E #3E0822 #223E08
tetradic
#08223E #3E083D #3E2408 #083E09
square
#08223E #3E083D #3E2408 #083E09
split-complementary
#08223E #3E0908 #3D3E08
monochromatic
#030F1B #030F1B #08223E #0F4074 #165DAA

Accessibility & contrast

On white

16.05
#08223E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#08223E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08223E
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08223E#FFFFFF#000000##FFFFFF
##08223E1.0016.051.3116.05
#FFFFFF16.051.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15243F
Deuteranopia (green-blind)
#0C1F3D
Tritanopia (blue-blind)
#00292C
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #08223e;
/* rgb */ color: rgb(8, 34, 62);
/* oklch */ color: oklch(24.9% 0.062 252.9);
Tailwind
colors: {
  custom: {
    50: '#515c73',
    500: '#08223e',
    950: '#000000',
  },
}
SCSS
$custom: #08223e;
$custom-light: #515c73;
$custom-dark: #000000;
JSON
{
  "hex": "#08223e",
  "rgb": {
    "r": 8,
    "g": 34,
    "b": 62
  },
  "hsl": {
    "h": 211.111,
    "s": 77.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.24928,
    "c": 0.06189,
    "h": 252.9
  },
  "luminance": 0.01543
}

Semantic roles & 50–950 ramp

primary
#08223E
secondary
#7D5325
accent
#9734F4
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020408
muted
#78797B

Preview Lab

Preview with #08223E

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

Preview Lab → · Contrast checker → · Palette generator →

#08223E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva