#08313F#08313F

#08313F is a dark, muted cyan. Relative luminance 0.026; OKLCH L 29.3% C 0.050 H 225.7°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#08313F
RGBrgb(8, 49, 63)
HSLhsl(195, 77%, 14%)
HSVhsv(195, 87%, 25%)
CMYKcmyk(87.3%, 22.2%, 0%, 75.3%)
CIE-LABlab(18.40, -8.06, -12.77)
CIE-LCHlch(18.40, 15.10, 237.74°)
OKLaboklab(29.31% -0.0349 -0.0358)
OKLCHoklch(29.31% 0.05 225.7)
XYZxyz(2.0953, 2.6069, 5.0944)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08313F #3F1608
analogous
#083F32 #08313F #08163F
triadic
#08313F #3F0831 #313F08
tetradic
#08313F #32083F #3F1608 #163F08
square
#08313F #32083F #3F1608 #163F08
split-complementary
#08313F #3F0816 #3F3208
monochromatic
#03151B #03151B #08313F #0F5B75 #1685AC

Accessibility & contrast

On white

13.80
#08313F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#08313F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08313F
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08313F#FFFFFF#000000##FFFFFF
##08313F1.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293040
Deuteranopia (green-blind)
#222B3F
Tritanopia (blue-blind)
#003536
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #08313f;
/* rgb */ color: rgb(8, 49, 63);
/* oklch */ color: oklch(29.3% 0.050 225.7);
Tailwind
colors: {
  custom: {
    50: '#526974',
    500: '#08313f',
    950: '#000000',
  },
}
SCSS
$custom: #08313f;
$custom-light: #526974;
$custom-dark: #000000;
JSON
{
  "hex": "#08313f",
  "rgb": {
    "r": 8,
    "g": 49,
    "b": 63
  },
  "hsl": {
    "h": 195.273,
    "s": 77.465,
    "l": 13.922
  },
  "oklch": {
    "l": 0.29314,
    "c": 0.05,
    "h": 225.7
  },
  "luminance": 0.02607
}

Semantic roles & 50–950 ramp

primary
#08313F
secondary
#7E3C25
accent
#6534F4
background
#F4F6F7
surface
#E7EBED
border
#C3C6C8
text
#030608
muted
#787A7B

Preview Lab

Preview with #08313F

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

Preview Lab → · Contrast checker → · Palette generator →

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