#08013C#08013C

#08013C is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 17.1% C 0.105 H 274.1°. Best body text is #FFFFFF at 19.44:1 contrast (WCAG AA passes).

Color values

HEX#08013C
RGBrgb(8, 1, 60)
HSLhsl(247, 97%, 12%)
HSVhsv(247, 98%, 24%)
CMYKcmyk(86.7%, 98.3%, 0%, 76.5%)
CIE-LABlab(3.61, 22.28, -34.31)
CIE-LCHlch(3.61, 40.91, 303.00°)
OKLaboklab(17.14% 0.0075 -0.1051)
OKLCHoklch(17.14% 0.105 274.1)
XYZxyz(0.9263, 0.3995, 4.3024)
Luminance0.0040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08013C #353C01
analogous
#01183C #08013C #26013C
triadic
#08013C #3C0801 #013C08
tetradic
#08013C #3C0118 #353C01 #013C26
square
#08013C #3C0118 #353C01 #013C26
split-complementary
#08013C #3C2601 #183C01
monochromatic
#04011E #04011E #08013C #100278 #1803B4

Accessibility & contrast

On white

19.44
#08013C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#08013C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08013C
19.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08013C#FFFFFF#000000##FFFFFF
##08013C1.0019.441.0819.44
#FFFFFF19.441.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00103E
Deuteranopia (green-blind)
#000A3B
Tritanopia (blue-blind)
#00141F
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #08013c;
/* rgb */ color: rgb(8, 1, 60);
/* oklch */ color: oklch(17.1% 0.105 274.1);
Tailwind
colors: {
  custom: {
    50: '#514672',
    500: '#08013c',
    950: '#000000',
  },
}
SCSS
$custom: #08013c;
$custom-light: #514672;
$custom-dark: #000000;
JSON
{
  "hex": "#08013c",
  "rgb": {
    "r": 8,
    "g": 1,
    "b": 60
  },
  "hsl": {
    "h": 247.119,
    "s": 96.721,
    "l": 11.961
  },
  "oklch": {
    "l": 0.17138,
    "c": 0.10532,
    "h": 274.1
  },
  "luminance": 0.004
}

Semantic roles & 50–950 ramp

primary
#08013C
secondary
#748019
accent
#FF29E6
background
#F4F3F7
surface
#E7E5ED
border
#C3C1C8
text
#030008
muted
#78777B

Preview Lab

Preview with #08013C

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

Preview Lab → · Contrast checker → · Palette generator →

#08013C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva