#03051A#03051A

#03051A is a very dark, muted blue. Relative luminance 0.002; OKLCH L 13.0% C 0.048 H 271.3°. Best body text is #FFFFFF at 20.18:1 contrast (WCAG AA passes).

Color values

HEX#03051A
RGBrgb(3, 5, 26)
HSLhsl(235, 79%, 6%)
HSVhsv(235, 88%, 10%)
CMYKcmyk(88.5%, 80.8%, 0%, 89.8%)
CIE-LABlab(1.83, 3.51, -11.16)
CIE-LCHlch(1.83, 11.70, 287.46°)
OKLaboklab(12.97% 0.0011 -0.0478)
OKLCHoklch(12.97% 0.048 271.3)
XYZxyz(0.2782, 0.2025, 1.0015)
Luminance0.0020 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#03051A #1A1803
analogous
#03101A #03051A #0C031A
triadic
#03051A #1A0305 #051A03
tetradic
#03051A #1A0310 #1A1803 #031A0C
square
#03051A #1A0310 #1A1803 #031A0C
split-complementary
#03051A #1A0C03 #101A03
monochromatic
#03051B #03051B #03051B #091051 #101A88

Accessibility & contrast

On white

20.18
#03051A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.04
#03051A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #03051A
20.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##03051A#FFFFFF#000000##FFFFFF
##03051A1.0020.181.0420.18
#FFFFFF20.181.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00081B
Deuteranopia (green-blind)
#00061A
Tritanopia (blue-blind)
#00090D
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #03051a;
/* rgb */ color: rgb(3, 5, 26);
/* oklch */ color: oklch(13.0% 0.048 271.3);
Tailwind
colors: {
  custom: {
    50: '#474956',
    500: '#03051a',
    950: '#000000',
  },
}
SCSS
$custom: #03051a;
$custom-light: #474956;
$custom-dark: #000000;
JSON
{
  "hex": "#03051a",
  "rgb": {
    "r": 3,
    "g": 5,
    "b": 26
  },
  "hsl": {
    "h": 234.783,
    "s": 79.31,
    "l": 5.686
  },
  "oklch": {
    "l": 0.12973,
    "c": 0.04786,
    "h": 271.3
  },
  "luminance": 0.00202
}

Semantic roles & 50–950 ramp

primary
#03051A
secondary
#5E581B
accent
#E532F6
background
#F4F4F5
surface
#E6E6E9
border
#C2C2C5
text
#000003
muted
#777778

Preview Lab

Preview with #03051A

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

Preview Lab → · Contrast checker → · Palette generator →

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