#08335F#08335F

#08335F is a dark, moderate cyan. Relative luminance 0.032; OKLCH L 32.0% C 0.090 H 253.3°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#08335F
RGBrgb(8, 51, 95)
HSLhsl(210, 84%, 20%)
HSVhsv(210, 92%, 37%)
CMYKcmyk(91.6%, 46.3%, 0%, 62.7%)
CIE-LABlab(21.00, 4.43, -30.12)
CIE-LCHlch(21.00, 30.45, 278.37°)
OKLaboklab(31.99% -0.0259 -0.0864)
OKLCHoklch(31.99% 0.09 253.3)
XYZxyz(3.3487, 3.2451, 11.2741)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08335F #5F3408
analogous
#085E5F #08335F #09085F
triadic
#08335F #5F0833 #335F08
tetradic
#08335F #5F085E #5F3408 #085F09
square
#08335F #5F085E #5F3408 #085F09
split-complementary
#08335F #5F0908 #5E5F08
monochromatic
#020F1C #031527 #08335F #0D5197 #1270D0

Accessibility & contrast

On white

12.73
#08335F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#08335F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08335F
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08335F#FFFFFF#000000##FFFFFF
##08335F1.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3761
Deuteranopia (green-blind)
#0B2F5E
Tritanopia (blue-blind)
#003E44
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #08335f;
/* rgb */ color: rgb(8, 51, 95);
/* oklch */ color: oklch(32.0% 0.090 253.3);
Tailwind
colors: {
  custom: {
    50: '#5a6a8d',
    500: '#08335f',
    950: '#000000',
  },
}
SCSS
$custom: #08335f;
$custom-light: #5a6a8d;
$custom-dark: #000000;
JSON
{
  "hex": "#08335f",
  "rgb": {
    "r": 8,
    "g": 51,
    "b": 95
  },
  "hsl": {
    "h": 210.345,
    "s": 84.466,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31991,
    "c": 0.09019,
    "h": 253.3
  },
  "luminance": 0.03246
}

Semantic roles & 50–950 ramp

primary
#08335F
secondary
#9B6228
accent
#952DFB
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04060C
muted
#797A7D

Preview Lab

Preview with #08335F

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

Preview Lab → · Contrast checker → · Palette generator →

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