#08313B#08313B

#08313B is a dark, muted cyan. Relative luminance 0.026; OKLCH L 29.1% C 0.047 H 218.1°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#08313B
RGBrgb(8, 49, 59)
HSLhsl(192, 76%, 13%)
HSVhsv(192, 86%, 23%)
CMYKcmyk(86.4%, 16.9%, 0%, 76.9%)
CIE-LABlab(18.20, -9.68, -10.31)
CIE-LCHlch(18.20, 14.15, 226.80°)
OKLaboklab(29.1% -0.0368 -0.0288)
OKLCHoklch(29.1% 0.047 218.1)
XYZxyz(1.9875, 2.5638, 4.5269)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08313B #3B1208
analogous
#083B2B #08313B #08173B
triadic
#08313B #3B0831 #313B08
tetradic
#08313B #2B083B #3B1208 #173B08
square
#08313B #2B083B #3B1208 #173B08
split-complementary
#08313B #3B0817 #3B2B08
monochromatic
#04161B #04161B #08313B #0F5E71 #178BA7

Accessibility & contrast

On white

13.88
#08313B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#08313B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08313B
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08313B#FFFFFF#000000##FFFFFF
##08313B1.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2F3C
Deuteranopia (green-blind)
#242A3B
Tritanopia (blue-blind)
#003434
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #08313b;
/* rgb */ color: rgb(8, 49, 59);
/* oklch */ color: oklch(29.1% 0.047 218.1);
Tailwind
colors: {
  custom: {
    50: '#516971',
    500: '#08313b',
    950: '#000000',
  },
}
SCSS
$custom: #08313b;
$custom-light: #516971;
$custom-dark: #000000;
JSON
{
  "hex": "#08313b",
  "rgb": {
    "r": 8,
    "g": 49,
    "b": 59
  },
  "hsl": {
    "h": 191.765,
    "s": 76.119,
    "l": 13.137
  },
  "oklch": {
    "l": 0.29098,
    "c": 0.04671,
    "h": 218.1
  },
  "luminance": 0.02564
}

Semantic roles & 50–950 ramp

primary
#08313B
secondary
#7A3625
accent
#5A35F3
background
#F4F6F6
surface
#E7EBEC
border
#C3C6C7
text
#020607
muted
#787A7A

Preview Lab

Preview with #08313B

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

Preview Lab → · Contrast checker → · Palette generator →

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