#03041B#03041B

#03041B is a very dark, muted blue. Relative luminance 0.002; OKLCH L 12.7% C 0.052 H 273.0°. Best body text is #FFFFFF at 20.25:1 contrast (WCAG AA passes).

Color values

HEX#03041B
RGBrgb(3, 4, 27)
HSLhsl(238, 80%, 6%)
HSVhsv(238, 89%, 11%)
CMYKcmyk(88.9%, 85.2%, 0%, 89.4%)
CIE-LABlab(1.67, 4.20, -12.20)
CIE-LCHlch(1.67, 12.91, 289.00°)
OKLaboklab(12.69% 0.0027 -0.0523)
OKLCHoklch(12.69% 0.052 273)
XYZxyz(0.2787, 0.1853, 1.0578)
Luminance0.0019 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#03041B #1B1A03
analogous
#03101B #03041B #0E031B
triadic
#03041B #1B0304 #041B03
tetradic
#03041B #1B0310 #1B1A03 #031B0E
square
#03041B #1B0310 #1B1A03 #031B0E
split-complementary
#03041B #1B0E03 #101B03
monochromatic
#03041C #03041C #03041C #090C52 #0F1489

Accessibility & contrast

On white

20.25
#03041B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.04
#03041B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #03041B
20.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##03041B#FFFFFF#000000##FFFFFF
##03041B1.0020.251.0420.25
#FFFFFF20.251.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00071C
Deuteranopia (green-blind)
#00051B
Tritanopia (blue-blind)
#00090D
Achromatopsia (no color)
#060606

Design tokens & code

CSS
--color: #03041b;
/* rgb */ color: rgb(3, 4, 27);
/* oklch */ color: oklch(12.7% 0.052 273.0);
Tailwind
colors: {
  custom: {
    50: '#474857',
    500: '#03041b',
    950: '#000000',
  },
}
SCSS
$custom: #03041b;
$custom-light: #474857;
$custom-dark: #000000;
JSON
{
  "hex": "#03041b",
  "rgb": {
    "r": 3,
    "g": 4,
    "b": 27
  },
  "hsl": {
    "h": 237.5,
    "s": 80,
    "l": 5.882
  },
  "oklch": {
    "l": 0.12694,
    "c": 0.05236,
    "h": 273
  },
  "luminance": 0.00185
}

Semantic roles & 50–950 ramp

primary
#03041B
secondary
#5F5C1B
accent
#EE31F6
background
#F4F4F5
surface
#E6E6E9
border
#C2C2C5
text
#000003
muted
#777778

Preview Lab

Preview with #03041B

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

Preview Lab → · Contrast checker → · Palette generator →

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