#08223F#08223F

#08223F is a dark, moderate cyan. Relative luminance 0.016; OKLCH L 25.0% C 0.063 H 253.6°. Best body text is #FFFFFF at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#08223F
RGBrgb(8, 34, 63)
HSLhsl(212, 77%, 14%)
HSVhsv(212, 87%, 25%)
CMYKcmyk(87.3%, 46%, 0%, 75.3%)
CIE-LABlab(12.95, 2.53, -21.32)
CIE-LCHlch(12.95, 21.47, 276.76°)
OKLaboklab(25% -0.0179 -0.0609)
OKLCHoklch(25% 0.063 253.6)
XYZxyz(1.5690, 1.5544, 4.9190)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08223F #3F2508
analogous
#083E3F #08223F #09083F
triadic
#08223F #3F0822 #223F08
tetradic
#08223F #3F083E #3F2508 #083F09
square
#08223F #3F083E #3F2508 #083F09
split-complementary
#08223F #3F0908 #3E3F08
monochromatic
#030F1B #030F1B #08223F #0F3F75 #165DAC

Accessibility & contrast

On white

16.02
#08223F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08223F
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08223F#FFFFFF#000000##FFFFFF
##08223F1.0016.021.3116.02
#FFFFFF16.021.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142440
Deuteranopia (green-blind)
#0B1F3E
Tritanopia (blue-blind)
#00292D
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #08223f;
/* rgb */ color: rgb(8, 34, 63);
/* oklch */ color: oklch(25.0% 0.063 253.6);
Tailwind
colors: {
  custom: {
    50: '#515c74',
    500: '#08223f',
    950: '#000000',
  },
}
SCSS
$custom: #08223f;
$custom-light: #515c74;
$custom-dark: #000000;
JSON
{
  "hex": "#08223f",
  "rgb": {
    "r": 8,
    "g": 34,
    "b": 63
  },
  "hsl": {
    "h": 211.636,
    "s": 77.465,
    "l": 13.922
  },
  "oklch": {
    "l": 0.25004,
    "c": 0.06347,
    "h": 253.6
  },
  "luminance": 0.01555
}

Semantic roles & 50–950 ramp

primary
#08223F
secondary
#7E5425
accent
#9934F4
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020408
muted
#78797B

Preview Lab

Preview with #08223F

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

Preview Lab → · Contrast checker → · Palette generator →

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