#03071A#03071A

#03071A is a very dark, muted blue. Relative luminance 0.002; OKLCH L 13.7% C 0.043 H 267.2°. Best body text is #FFFFFF at 20.02:1 contrast (WCAG AA passes).

Color values

HEX#03071A
RGBrgb(3, 7, 26)
HSLhsl(230, 79%, 6%)
HSVhsv(230, 88%, 10%)
CMYKcmyk(88.5%, 73.1%, 0%, 89.8%)
CIE-LABlab(2.22, 2.71, -10.59)
CIE-LCHlch(2.22, 10.93, 284.36°)
OKLaboklab(13.71% -0.0021 -0.0431)
OKLCHoklch(13.71% 0.043 267.2)
XYZxyz(0.2999, 0.2459, 1.0087)
Luminance0.0025 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#03071A #1A1603
analogous
#03121A #03071A #0A031A
triadic
#03071A #1A0307 #071A03
tetradic
#03071A #1A0312 #1A1603 #031A0A
square
#03071A #1A0312 #1A1603 #031A0A
split-complementary
#03071A #1A0A03 #121A03
monochromatic
#03071B #03071B #03071B #091651 #102588

Accessibility & contrast

On white

20.02
#03071A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #03071A
20.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##03071A#FFFFFF#000000##FFFFFF
##03071A1.0020.021.0520.02
#FFFFFF20.021.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF20.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01091B
Deuteranopia (green-blind)
#00071A
Tritanopia (blue-blind)
#000B0F
Achromatopsia (no color)
#080808

Design tokens & code

CSS
--color: #03071a;
/* rgb */ color: rgb(3, 7, 26);
/* oklch */ color: oklch(13.7% 0.043 267.2);
Tailwind
colors: {
  custom: {
    50: '#474a56',
    500: '#03071a',
    950: '#000000',
  },
}
SCSS
$custom: #03071a;
$custom-light: #474a56;
$custom-dark: #000000;
JSON
{
  "hex": "#03071a",
  "rgb": {
    "r": 3,
    "g": 7,
    "b": 26
  },
  "hsl": {
    "h": 229.565,
    "s": 79.31,
    "l": 5.686
  },
  "oklch": {
    "l": 0.1371,
    "c": 0.04317,
    "h": 267.2
  },
  "luminance": 0.00246
}

Semantic roles & 50–950 ramp

primary
#03071A
secondary
#5E521B
accent
#D432F6
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000103
muted
#777778

Preview Lab

Preview with #03071A

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

Preview Lab → · Contrast checker → · Palette generator →

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