#08313E#08313E

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

Color values

HEX#08313E
RGBrgb(8, 49, 62)
HSLhsl(194, 77%, 14%)
HSVhsv(194, 87%, 24%)
CMYKcmyk(87.1%, 21%, 0%, 75.7%)
CIE-LABlab(18.35, -8.47, -12.16)
CIE-LCHlch(18.35, 14.81, 235.14°)
OKLaboklab(29.26% -0.0353 -0.0341)
OKLCHoklch(29.26% 0.049 223.9)
XYZxyz(2.0676, 2.5958, 4.9486)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08313E #3E1508
analogous
#083E30 #08313E #08163E
triadic
#08313E #3E0831 #313E08
tetradic
#08313E #30083E #3E1508 #163E08
square
#08313E #30083E #3E1508 #163E08
split-complementary
#08313E #3E0816 #3E3008
monochromatic
#03151B #03151B #08313E #0F5C74 #1687AA

Accessibility & contrast

On white

13.82
#08313E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08313E
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08313E#FFFFFF#000000##FFFFFF
##08313E1.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A303F
Deuteranopia (green-blind)
#222A3E
Tritanopia (blue-blind)
#003535
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #08313e;
/* rgb */ color: rgb(8, 49, 62);
/* oklch */ color: oklch(29.3% 0.049 223.9);
Tailwind
colors: {
  custom: {
    50: '#526973',
    500: '#08313e',
    950: '#000000',
  },
}
SCSS
$custom: #08313e;
$custom-light: #526973;
$custom-dark: #000000;
JSON
{
  "hex": "#08313e",
  "rgb": {
    "r": 8,
    "g": 49,
    "b": 62
  },
  "hsl": {
    "h": 194.444,
    "s": 77.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.29258,
    "c": 0.04909,
    "h": 223.9
  },
  "luminance": 0.02596
}

Semantic roles & 50–950 ramp

primary
#08313E
secondary
#7D3A25
accent
#6234F4
background
#F4F6F6
surface
#E7EBEC
border
#C3C6C7
text
#020608
muted
#787A7B

Preview Lab

Preview with #08313E

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

Preview Lab → · Contrast checker → · Palette generator →

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