#08063A#08063A

#08063A is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.9% C 0.095 H 273.2°. Best body text is #FFFFFF at 19.14:1 contrast (WCAG AA passes).

Color values

HEX#08063A
RGBrgb(8, 6, 58)
HSLhsl(242, 81%, 13%)
HSVhsv(242, 90%, 23%)
CMYKcmyk(86.2%, 89.7%, 0%, 77.3%)
CIE-LABlab(4.40, 18.95, -31.57)
CIE-LCHlch(4.40, 36.82, 300.98°)
OKLaboklab(17.92% 0.0053 -0.095)
OKLCHoklch(17.92% 0.095 273.2)
XYZxyz(0.9287, 0.4873, 4.0473)
Luminance0.0049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08063A #383A06
analogous
#061E3A #08063A #22063A
triadic
#08063A #3A0806 #063A08
tetradic
#08063A #3A061E #383A06 #063A22
square
#08063A #3A061E #383A06 #063A22
split-complementary
#08063A #3A2206 #1E3A06
monochromatic
#04031C #04031C #08063A #100C71 #1711A9

Accessibility & contrast

On white

19.14
#08063A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08063A
19.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08063A#FFFFFF#000000##FFFFFF
##08063A1.0019.141.1019.14
#FFFFFF19.141.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00123B
Deuteranopia (green-blind)
#000D39
Tritanopia (blue-blind)
#001520
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #08063a;
/* rgb */ color: rgb(8, 6, 58);
/* oklch */ color: oklch(17.9% 0.095 273.2);
Tailwind
colors: {
  custom: {
    50: '#504871',
    500: '#08063a',
    950: '#000000',
  },
}
SCSS
$custom: #08063a;
$custom-light: #504871;
$custom-dark: #000000;
JSON
{
  "hex": "#08063a",
  "rgb": {
    "r": 8,
    "g": 6,
    "b": 58
  },
  "hsl": {
    "h": 242.308,
    "s": 81.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.17917,
    "c": 0.09517,
    "h": 273.2
  },
  "luminance": 0.00487
}

Semantic roles & 50–950 ramp

primary
#08063A
secondary
#777A22
accent
#F830F0
background
#F4F4F6
surface
#E7E6EC
border
#C3C2C7
text
#020008
muted
#78777B

Preview Lab

Preview with #08063A

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

Preview Lab → · Contrast checker → · Palette generator →

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