#08133D#08133D

#08133D is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.0% C 0.082 H 267.3°. Best body text is #FFFFFF at 17.94:1 contrast (WCAG AA passes).

Color values

HEX#08133D
RGBrgb(8, 19, 61)
HSLhsl(228, 77%, 14%)
HSVhsv(228, 87%, 24%)
CMYKcmyk(86.9%, 68.9%, 0%, 76.1%)
CIE-LABlab(7.72, 13.39, -28.35)
CIE-LCHlch(7.72, 31.35, 295.28°)
OKLaboklab(20.95% -0.0038 -0.0819)
OKLCHoklch(20.95% 0.082 267.3)
XYZxyz(1.1750, 0.8542, 4.5169)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08133D #3D3208
analogous
#082D3D #08133D #17083D
triadic
#08133D #3D0813 #133D08
tetradic
#08133D #3D082D #3D3208 #083D17
square
#08133D #3D082D #3D3208 #083D17
split-complementary
#08133D #3D1708 #2D3D08
monochromatic
#04081B #04081B #08133D #0F2473 #1635A9

Accessibility & contrast

On white

17.94
#08133D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#08133D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08133D
17.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08133D#FFFFFF#000000##FFFFFF
##08133D1.0017.941.1717.94
#FFFFFF17.941.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3E
Deuteranopia (green-blind)
#00153C
Tritanopia (blue-blind)
#001E25
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #08133d;
/* rgb */ color: rgb(8, 19, 61);
/* oklch */ color: oklch(21.0% 0.082 267.3);
Tailwind
colors: {
  custom: {
    50: '#515073',
    500: '#08133d',
    950: '#000000',
  },
}
SCSS
$custom: #08133d;
$custom-light: #515073;
$custom-dark: #000000;
JSON
{
  "hex": "#08133d",
  "rgb": {
    "r": 8,
    "g": 19,
    "b": 61
  },
  "hsl": {
    "h": 227.547,
    "s": 76.812,
    "l": 13.529
  },
  "oklch": {
    "l": 0.20952,
    "c": 0.082,
    "h": 267.3
  },
  "luminance": 0.00854
}

Semantic roles & 50–950 ramp

primary
#08133D
secondary
#7C6A25
accent
#CC34F3
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#020208
muted
#78787B

Preview Lab

Preview with #08133D

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

Preview Lab → · Contrast checker → · Palette generator →

#08133D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva