#08053F#08053F

#08053F is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.4% C 0.104 H 272.4°. Best body text is #FFFFFF at 19.03:1 contrast (WCAG AA passes).

Color values

HEX#08053F
RGBrgb(8, 5, 63)
HSLhsl(243, 85%, 13%)
HSVhsv(243, 92%, 25%)
CMYKcmyk(87.3%, 92.1%, 0%, 75.3%)
CIE-LABlab(4.69, 22.23, -34.72)
CIE-LCHlch(4.69, 41.23, 302.64°)
OKLaboklab(18.41% 0.0044 -0.1035)
OKLCHoklch(18.41% 0.104 272.4)
XYZxyz(1.0513, 0.5189, 4.7464)
Luminance0.0052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08053F #3C3F05
analogous
#051F3F #08053F #25053F
triadic
#08053F #3F0805 #053F08
tetradic
#08053F #3F051F #3C3F05 #053F25
square
#08053F #3F051F #3C3F05 #053F25
split-complementary
#08053F #3F2505 #1F3F05
monochromatic
#04021C #04021C #08053F #0F0978 #160EB0

Accessibility & contrast

On white

19.03
#08053F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#08053F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08053F
19.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08053F#FFFFFF#000000##FFFFFF
##08053F1.0019.031.1019.03
#FFFFFF19.031.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001341
Deuteranopia (green-blind)
#000D3E
Tritanopia (blue-blind)
#001722
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #08053f;
/* rgb */ color: rgb(8, 5, 63);
/* oklch */ color: oklch(18.4% 0.104 272.4);
Tailwind
colors: {
  custom: {
    50: '#534775',
    500: '#08053f',
    950: '#000000',
  },
}
SCSS
$custom: #08053f;
$custom-light: #534775;
$custom-dark: #000000;
JSON
{
  "hex": "#08053f",
  "rgb": {
    "r": 8,
    "g": 5,
    "b": 63
  },
  "hsl": {
    "h": 243.103,
    "s": 85.294,
    "l": 13.333
  },
  "oklch": {
    "l": 0.18411,
    "c": 0.10355,
    "h": 272.4
  },
  "luminance": 0.00519
}

Semantic roles & 50–950 ramp

primary
#08053F
secondary
#7B8020
accent
#FC2CF1
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030008
muted
#78777B

Preview Lab

Preview with #08053F

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

Preview Lab → · Contrast checker → · Palette generator →

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