#030508#030508

#030508 is a very dark, near-neutral blue. Relative luminance 0.001; OKLCH L 11.3% C 0.011 H 251.8°. Best body text is #FFFFFF at 20.41:1 contrast (WCAG AA passes).

Color values

HEX#030508
RGBrgb(3, 5, 8)
HSLhsl(216, 45%, 2%)
HSVhsv(216, 63%, 3%)
CMYKcmyk(62.5%, 37.5%, 0%, 96.9%)
CIE-LABlab(1.31, -0.11, -1.32)
CIE-LCHlch(1.31, 1.32, 265.39°)
OKLaboklab(11.31% -0.0034 -0.0103)
OKLCHoklch(11.31% 0.011 251.8)
XYZxyz(0.1356, 0.1454, 0.2506)
Luminance0.0014 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#030508 #080603
analogous
#030808 #030508 #040308
triadic
#030508 #080305 #050803
tetradic
#030508 #080308 #080603 #030804
square
#030508 #080308 #080603 #030804
split-complementary
#030508 #080403 #080803
monochromatic
#080E16 #080E16 #080E16 #142135 #243D61

Accessibility & contrast

On white

20.41
#030508 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.03
#030508 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #030508
20.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##030508#FFFFFF#000000##FFFFFF
##0305081.0020.411.0320.41
#FFFFFF20.411.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#040508
Deuteranopia (green-blind)
#040508
Tritanopia (blue-blind)
#020606
Achromatopsia (no color)
#050505

Design tokens & code

CSS
--color: #030508;
/* rgb */ color: rgb(3, 5, 8);
/* oklch */ color: oklch(11.3% 0.011 251.8);
Tailwind
colors: {
  custom: {
    50: '#48494a',
    500: '#030508',
    950: '#000000',
  },
}
SCSS
$custom: #030508;
$custom-light: #48494a;
$custom-dark: #000000;
JSON
{
  "hex": "#030508",
  "rgb": {
    "r": 3,
    "g": 5,
    "b": 8
  },
  "hsl": {
    "h": 216,
    "s": 45.455,
    "l": 2.157
  },
  "oklch": {
    "l": 0.11312,
    "c": 0.01088,
    "h": 251.8
  },
  "luminance": 0.00145
}

Semantic roles & 50–950 ramp

primary
#030508
secondary
#443723
accent
#A153D5
background
#F4F4F4
surface
#E6E6E7
border
#C2C2C3
text
#000001
muted
#777777

Preview Lab

Preview with #030508

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

Preview Lab → · Contrast checker → · Palette generator →

#030508 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva