#03041F#03041F

#03041F is a very dark, muted blue. Relative luminance 0.002; OKLCH L 13.2% C 0.059 H 272.1°. Best body text is #FFFFFF at 20.17:1 contrast (WCAG AA passes).

Color values

HEX#03041F
RGBrgb(3, 4, 31)
HSLhsl(238, 82%, 7%)
HSVhsv(238, 90%, 12%)
CMYKcmyk(90.3%, 87.1%, 0%, 87.8%)
CIE-LABlab(1.85, 5.46, -15.14)
CIE-LCHlch(1.85, 16.10, 289.82°)
OKLaboklab(13.2% 0.0022 -0.0593)
OKLCHoklch(13.2% 0.059 272.1)
XYZxyz(0.3282, 0.2051, 1.3183)
Luminance0.0021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#03041F #1F1E03
analogous
#03121F #03041F #10031F
triadic
#03041F #1F0304 #041F03
tetradic
#03041F #1F0312 #1F1E03 #031F10
square
#03041F #1F0312 #1F1E03 #031F10
split-complementary
#03041F #1F1003 #121F03
monochromatic
#03041C #03041C #03041F #080B57 #0E128F

Accessibility & contrast

On white

20.17
#03041F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #03041F
20.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##03041F#FFFFFF#000000##FFFFFF
##03041F1.0020.171.0420.17
#FFFFFF20.171.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000820
Deuteranopia (green-blind)
#00061E
Tritanopia (blue-blind)
#000A10
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #03041f;
/* rgb */ color: rgb(3, 4, 31);
/* oklch */ color: oklch(13.2% 0.059 272.1);
Tailwind
colors: {
  custom: {
    50: '#47485a',
    500: '#03041f',
    950: '#000000',
  },
}
SCSS
$custom: #03041f;
$custom-light: #47485a;
$custom-dark: #000000;
JSON
{
  "hex": "#03041f",
  "rgb": {
    "r": 3,
    "g": 4,
    "b": 31
  },
  "hsl": {
    "h": 237.857,
    "s": 82.353,
    "l": 6.667
  },
  "oklch": {
    "l": 0.132,
    "c": 0.05937,
    "h": 272.1
  },
  "luminance": 0.00205
}

Semantic roles & 50–950 ramp

primary
#03041F
secondary
#63611B
accent
#F12FF9
background
#F4F4F5
surface
#E6E6E9
border
#C2C2C5
text
#000004
muted
#777779

Preview Lab

Preview with #03041F

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

Preview Lab → · Contrast checker → · Palette generator →

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