#08063C#08063C

#08063C is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.2% C 0.098 H 272.8°. Best body text is #FFFFFF at 19.06:1 contrast (WCAG AA passes).

Color values

HEX#08063C
RGBrgb(8, 6, 60)
HSLhsl(242, 82%, 13%)
HSVhsv(242, 90%, 24%)
CMYKcmyk(86.7%, 90%, 0%, 76.5%)
CIE-LABlab(4.59, 20.10, -32.72)
CIE-LCHlch(4.59, 38.40, 301.57°)
OKLaboklab(18.19% 0.0047 -0.0979)
OKLCHoklch(18.19% 0.098 272.8)
XYZxyz(0.9806, 0.5080, 4.3205)
Luminance0.0051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08063C #3A3C06
analogous
#061F3C #08063C #23063C
triadic
#08063C #3C0806 #063C08
tetradic
#08063C #3C061F #3A3C06 #063C23
square
#08063C #3C061F #3A3C06 #063C23
split-complementary
#08063C #3C2306 #1F3C06
monochromatic
#04031C #04031C #08063C #0F0C74 #1711AB

Accessibility & contrast

On white

19.06
#08063C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#08063C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08063C
19.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08063C#FFFFFF#000000##FFFFFF
##08063C1.0019.061.1019.06
#FFFFFF19.061.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00123E
Deuteranopia (green-blind)
#000D3B
Tritanopia (blue-blind)
#001621
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #08063c;
/* rgb */ color: rgb(8, 6, 60);
/* oklch */ color: oklch(18.2% 0.098 272.8);
Tailwind
colors: {
  custom: {
    50: '#514872',
    500: '#08063c',
    950: '#000000',
  },
}
SCSS
$custom: #08063c;
$custom-light: #514872;
$custom-dark: #000000;
JSON
{
  "hex": "#08063c",
  "rgb": {
    "r": 8,
    "g": 6,
    "b": 60
  },
  "hsl": {
    "h": 242.222,
    "s": 81.818,
    "l": 12.941
  },
  "oklch": {
    "l": 0.18189,
    "c": 0.09802,
    "h": 272.8
  },
  "luminance": 0.00508
}

Semantic roles & 50–950 ramp

primary
#08063C
secondary
#797C22
accent
#F830F1
background
#F4F4F7
surface
#E7E6ED
border
#C3C2C8
text
#030008
muted
#78777B

Preview Lab

Preview with #08063C

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

Preview Lab → · Contrast checker → · Palette generator →

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