#030308#030308

#030308 is a very dark, near-neutral blue. Relative luminance 0.001; OKLCH L 10.2% C 0.017 H 282.9°. Best body text is #FFFFFF at 20.58:1 contrast (WCAG AA passes).

Color values

HEX#030308
RGBrgb(3, 3, 8)
HSLhsl(240, 45%, 2%)
HSVhsv(240, 63%, 3%)
CMYKcmyk(62.5%, 62.5%, 0%, 96.9%)
CIE-LABlab(0.92, 0.69, -1.89)
CIE-LCHlch(0.92, 2.02, 290.15°)
OKLaboklab(10.17% 0.0039 -0.0168)
OKLCHoklch(10.17% 0.017 282.9)
XYZxyz(0.1139, 0.1020, 0.2434)
Luminance0.0010 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#030308 #080803
analogous
#030608 #030308 #060308
triadic
#030308 #080303 #030803
tetradic
#030308 #080306 #080803 #030806
square
#030308 #080306 #080803 #030806
split-complementary
#030308 #080603 #060803
monochromatic
#080816 #080816 #080816 #141435 #242461

Accessibility & contrast

On white

20.58
#030308 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.02
#030308 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #030308
20.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##030308#FFFFFF#000000##FFFFFF
##0303081.0020.581.0220.58
#FFFFFF20.581.0021.001.00
#0000001.0221.001.0021.00
##FFFFFF20.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#020308
Deuteranopia (green-blind)
#020308
Tritanopia (blue-blind)
#020405
Achromatopsia (no color)
#030303

Design tokens & code

CSS
--color: #030308;
/* rgb */ color: rgb(3, 3, 8);
/* oklch */ color: oklch(10.2% 0.017 282.9);
Tailwind
colors: {
  custom: {
    50: '#48484a',
    500: '#030308',
    950: '#000000',
  },
}
SCSS
$custom: #030308;
$custom-light: #48484a;
$custom-dark: #000000;
JSON
{
  "hex": "#030308",
  "rgb": {
    "r": 3,
    "g": 3,
    "b": 8
  },
  "hsl": {
    "h": 240,
    "s": 45.455,
    "l": 2.157
  },
  "oklch": {
    "l": 0.10173,
    "c": 0.01727,
    "h": 282.9
  },
  "luminance": 0.00102
}

Semantic roles & 50–950 ramp

primary
#030308
secondary
#444423
accent
#D553D5
background
#F4F4F4
surface
#E6E6E7
border
#C2C2C3
text
#000001
muted
#777777

Preview Lab

Preview with #030308

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

Preview Lab → · Contrast checker → · Palette generator →

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