#03071D#03071D

#03071D is a very dark, muted blue. Relative luminance 0.003; OKLCH L 14.0% C 0.049 H 267.9°. Best body text is #FFFFFF at 19.96:1 contrast (WCAG AA passes).

Color values

HEX#03071D
RGBrgb(3, 7, 29)
HSLhsl(231, 81%, 6%)
HSVhsv(231, 90%, 11%)
CMYKcmyk(89.7%, 75.9%, 0%, 88.6%)
CIE-LABlab(2.35, 3.61, -12.81)
CIE-LCHlch(2.35, 13.31, 285.73°)
OKLaboklab(14.03% -0.0018 -0.0488)
OKLCHoklch(14.03% 0.049 267.9)
XYZxyz(0.3352, 0.2600, 1.1947)
Luminance0.0026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#03071D #1D1903
analogous
#03141D #03071D #0C031D
triadic
#03071D #1D0307 #071D03
tetradic
#03071D #1D0314 #1D1903 #031D0C
square
#03071D #1D0314 #1D1903 #031D0C
split-complementary
#03071D #1D0C03 #141D03
monochromatic
#03071C #03071C #03071D #091454 #0E228C

Accessibility & contrast

On white

19.96
#03071D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#03071D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #03071D
19.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##03071D#FFFFFF#000000##FFFFFF
##03071D1.0019.961.0519.96
#FFFFFF19.961.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF19.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000A1E
Deuteranopia (green-blind)
#00071D
Tritanopia (blue-blind)
#000C10
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #03071d;
/* rgb */ color: rgb(3, 7, 29);
/* oklch */ color: oklch(14.0% 0.049 267.9);
Tailwind
colors: {
  custom: {
    50: '#474a58',
    500: '#03071d',
    950: '#000000',
  },
}
SCSS
$custom: #03071d;
$custom-light: #474a58;
$custom-dark: #000000;
JSON
{
  "hex": "#03071d",
  "rgb": {
    "r": 3,
    "g": 7,
    "b": 29
  },
  "hsl": {
    "h": 230.769,
    "s": 81.25,
    "l": 6.275
  },
  "oklch": {
    "l": 0.14025,
    "c": 0.04882,
    "h": 267.9
  },
  "luminance": 0.0026
}

Semantic roles & 50–950 ramp

primary
#03071D
secondary
#61561B
accent
#D930F8
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000103
muted
#777778

Preview Lab

Preview with #03071D

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

Preview Lab → · Contrast checker → · Palette generator →

#03071D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva