#08063F#08063F

#08063F is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.6% C 0.102 H 272.2°. Best body text is #FFFFFF at 18.95:1 contrast (WCAG AA passes).

Color values

HEX#08063F
RGBrgb(8, 6, 63)
HSLhsl(242, 83%, 14%)
HSVhsv(242, 90%, 25%)
CMYKcmyk(87.3%, 90.5%, 0%, 75.3%)
CIE-LABlab(4.88, 21.77, -34.40)
CIE-LCHlch(4.88, 40.71, 302.33°)
OKLaboklab(18.6% 0.0039 -0.1022)
OKLCHoklch(18.6% 0.102 272.2)
XYZxyz(1.0622, 0.5406, 4.7500)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08063F #3D3F06
analogous
#06203F #08063F #24063F
triadic
#08063F #3F0806 #063F08
tetradic
#08063F #3F0620 #3D3F06 #063F24
square
#08063F #3F0620 #3D3F06 #063F24
split-complementary
#08063F #3F2406 #203F06
monochromatic
#04031C #04031C #08063F #0F0B77 #1611AF

Accessibility & contrast

On white

18.95
#08063F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#08063F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08063F
18.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08063F#FFFFFF#000000##FFFFFF
##08063F1.0018.951.1118.95
#FFFFFF18.951.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #08063f;
/* rgb */ color: rgb(8, 6, 63);
/* oklch */ color: oklch(18.6% 0.102 272.2);
Tailwind
colors: {
  custom: {
    50: '#534875',
    500: '#08063f',
    950: '#000000',
  },
}
SCSS
$custom: #08063f;
$custom-light: #534875;
$custom-dark: #000000;
JSON
{
  "hex": "#08063f",
  "rgb": {
    "r": 8,
    "g": 6,
    "b": 63
  },
  "hsl": {
    "h": 242.105,
    "s": 82.609,
    "l": 13.529
  },
  "oklch": {
    "l": 0.18602,
    "c": 0.10224,
    "h": 272.2
  },
  "luminance": 0.00541
}

Semantic roles & 50–950 ramp

primary
#08063F
secondary
#7C7F22
accent
#F92FF2
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030008
muted
#78777B

Preview Lab

Preview with #08063F

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

Preview Lab → · Contrast checker → · Palette generator →

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