#03071B#03071B

#03071B is a very dark, muted blue. Relative luminance 0.003; OKLCH L 13.8% C 0.045 H 267.5°. Best body text is #FFFFFF at 20.00:1 contrast (WCAG AA passes).

Color values

HEX#03071B
RGBrgb(3, 7, 27)
HSLhsl(230, 80%, 6%)
HSVhsv(230, 89%, 11%)
CMYKcmyk(88.9%, 74.1%, 0%, 89.4%)
CIE-LABlab(2.26, 3.00, -11.33)
CIE-LCHlch(2.26, 11.73, 284.84°)
OKLaboklab(13.81% -0.002 -0.045)
OKLCHoklch(13.81% 0.045 267.5)
XYZxyz(0.3113, 0.2504, 1.0686)
Luminance0.0025 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#03071B #1B1703
analogous
#03131B #03071B #0B031B
triadic
#03071B #1B0307 #071B03
tetradic
#03071B #1B0313 #1B1703 #031B0B
square
#03071B #1B0313 #1B1703 #031B0B
split-complementary
#03071B #1B0B03 #131B03
monochromatic
#03071C #03071C #03071C #091552 #0F2489

Accessibility & contrast

On white

20.00
#03071B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #03071B
20.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##03071B#FFFFFF#000000##FFFFFF
##03071B1.0020.001.0520.00
#FFFFFF20.001.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF20.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00091C
Deuteranopia (green-blind)
#00071B
Tritanopia (blue-blind)
#000C0F
Achromatopsia (no color)
#080808

Design tokens & code

CSS
--color: #03071b;
/* rgb */ color: rgb(3, 7, 27);
/* oklch */ color: oklch(13.8% 0.045 267.5);
Tailwind
colors: {
  custom: {
    50: '#474a57',
    500: '#03071b',
    950: '#000000',
  },
}
SCSS
$custom: #03071b;
$custom-light: #474a57;
$custom-dark: #000000;
JSON
{
  "hex": "#03071b",
  "rgb": {
    "r": 3,
    "g": 7,
    "b": 27
  },
  "hsl": {
    "h": 230,
    "s": 80,
    "l": 5.882
  },
  "oklch": {
    "l": 0.13813,
    "c": 0.04507,
    "h": 267.5
  },
  "luminance": 0.0025
}

Semantic roles & 50–950 ramp

primary
#03071B
secondary
#5F541B
accent
#D631F6
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000103
muted
#777778

Preview Lab

Preview with #03071B

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

Preview Lab → · Contrast checker → · Palette generator →

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