#030A1F#030A1F

#030A1F is a very dark, muted blue. Relative luminance 0.003; OKLCH L 15.2% C 0.047 H 263.5°. Best body text is #FFFFFF at 19.68:1 contrast (WCAG AA passes).

Color values

HEX#030A1F
RGBrgb(3, 10, 31)
HSLhsl(225, 82%, 7%)
HSVhsv(225, 90%, 12%)
CMYKcmyk(90.3%, 67.7%, 0%, 87.8%)
CIE-LABlab(3.03, 3.06, -13.37)
CIE-LCHlch(3.03, 13.71, 282.88°)
OKLaboklab(15.16% -0.0053 -0.0467)
OKLCHoklch(15.16% 0.047 263.5)
XYZxyz(0.3933, 0.3353, 1.3401)
Luminance0.0034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#030A1F #1F1803
analogous
#03181F #030A1F #0A031F
triadic
#030A1F #1F030A #0A1F03
tetradic
#030A1F #1F0318 #1F1803 #031F0A
square
#030A1F #1F0318 #1F1803 #031F0A
split-complementary
#030A1F #1F0A03 #181F03
monochromatic
#03091C #03091C #030A1F #081C57 #0E2E8F

Accessibility & contrast

On white

19.68
#030A1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#030A1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #030A1F
19.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##030A1F#FFFFFF#000000##FFFFFF
##030A1F1.0019.681.0719.68
#FFFFFF19.681.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#020D20
Deuteranopia (green-blind)
#000A1F
Tritanopia (blue-blind)
#000F12
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #030a1f;
/* rgb */ color: rgb(3, 10, 31);
/* oklch */ color: oklch(15.2% 0.047 263.5);
Tailwind
colors: {
  custom: {
    50: '#474b5a',
    500: '#030a1f',
    950: '#000000',
  },
}
SCSS
$custom: #030a1f;
$custom-light: #474b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#030a1f",
  "rgb": {
    "r": 3,
    "g": 10,
    "b": 31
  },
  "hsl": {
    "h": 225,
    "s": 82.353,
    "l": 6.667
  },
  "oklch": {
    "l": 0.15156,
    "c": 0.04696,
    "h": 263.5
  },
  "luminance": 0.00335
}

Semantic roles & 50–950 ramp

primary
#030A1F
secondary
#63511B
accent
#C62FF9
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000104
muted
#777779

Preview Lab

Preview with #030A1F

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

Preview Lab → · Contrast checker → · Palette generator →

#030A1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva