#03071F#03071F

#03071F is a very dark, muted blue. Relative luminance 0.003; OKLCH L 14.2% C 0.053 H 268.1°. Best body text is #FFFFFF at 19.92:1 contrast (WCAG AA passes).

Color values

HEX#03071F
RGBrgb(3, 7, 31)
HSLhsl(231, 82%, 7%)
HSVhsv(231, 90%, 12%)
CMYKcmyk(90.3%, 77.4%, 0%, 87.8%)
CIE-LABlab(2.44, 4.26, -14.26)
CIE-LCHlch(2.44, 14.88, 286.63°)
OKLaboklab(14.25% -0.0017 -0.0525)
OKLCHoklch(14.25% 0.053 268.1)
XYZxyz(0.3608, 0.2702, 1.3292)
Luminance0.0027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#03071F #1F1B03
analogous
#03151F #03071F #0D031F
triadic
#03071F #1F0307 #071F03
tetradic
#03071F #1F0315 #1F1B03 #031F0D
square
#03071F #1F0315 #1F1B03 #031F0D
split-complementary
#03071F #1F0D03 #151F03
monochromatic
#03061C #03061C #03071F #081457 #0E208F

Accessibility & contrast

On white

19.92
#03071F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #03071F
19.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##03071F#FFFFFF#000000##FFFFFF
##03071F1.0019.921.0519.92
#FFFFFF19.921.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF19.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000A20
Deuteranopia (green-blind)
#00081F
Tritanopia (blue-blind)
#000D11
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #03071f;
/* rgb */ color: rgb(3, 7, 31);
/* oklch */ color: oklch(14.2% 0.053 268.1);
Tailwind
colors: {
  custom: {
    50: '#474a5a',
    500: '#03071f',
    950: '#000000',
  },
}
SCSS
$custom: #03071f;
$custom-light: #474a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#03071f",
  "rgb": {
    "r": 3,
    "g": 7,
    "b": 31
  },
  "hsl": {
    "h": 231.429,
    "s": 82.353,
    "l": 6.667
  },
  "oklch": {
    "l": 0.14245,
    "c": 0.05251,
    "h": 268.1
  },
  "luminance": 0.0027
}

Semantic roles & 50–950 ramp

primary
#03071F
secondary
#63591B
accent
#DC2FF9
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000104
muted
#777779

Preview Lab

Preview with #03071F

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

Preview Lab → · Contrast checker → · Palette generator →

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