#03152F#03152F

#03152F is a very dark, muted blue. Relative luminance 0.008; OKLCH L 19.8% C 0.058 H 256.5°. Best body text is #FFFFFF at 18.23:1 contrast (WCAG AA passes).

Color values

HEX#03152F
RGBrgb(3, 21, 47)
HSLhsl(215, 88%, 10%)
HSVhsv(215, 94%, 18%)
CMYKcmyk(93.6%, 55.3%, 0%, 81.6%)
CIE-LABlab(6.87, 3.91, -19.55)
CIE-LCHlch(6.87, 19.93, 281.32°)
OKLaboklab(19.78% -0.0136 -0.0564)
OKLCHoklch(19.78% 0.058 256.5)
XYZxyz(0.8186, 0.7608, 2.7925)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#03152F #2F1D03
analogous
#032B2F #03152F #07032F
triadic
#03152F #2F0315 #152F03
tetradic
#03152F #2F032B #2F1D03 #032F07
square
#03152F #2F032B #2F1D03 #032F07
split-complementary
#03152F #2F0703 #2B2F03
monochromatic
#020D1D #020D1D #03152F #072F69 #0A48A2

Accessibility & contrast

On white

18.23
#03152F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#03152F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #03152F
18.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##03152F#FFFFFF#000000##FFFFFF
##03152F1.0018.231.1518.23
#FFFFFF18.231.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071730
Deuteranopia (green-blind)
#01132E
Tritanopia (blue-blind)
#001B1F
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #03152f;
/* rgb */ color: rgb(3, 21, 47);
/* oklch */ color: oklch(19.8% 0.058 256.5);
Tailwind
colors: {
  custom: {
    50: '#4a5167',
    500: '#03152f',
    950: '#000000',
  },
}
SCSS
$custom: #03152f;
$custom-light: #4a5167;
$custom-dark: #000000;
JSON
{
  "hex": "#03152f",
  "rgb": {
    "r": 3,
    "g": 21,
    "b": 47
  },
  "hsl": {
    "h": 215.455,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.19784,
    "c": 0.05801,
    "h": 256.5
  },
  "luminance": 0.00761
}

Semantic roles & 50–950 ramp

primary
#03152F
secondary
#734F1B
accent
#A72AFE
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #03152F

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

Preview Lab → · Contrast checker → · Palette generator →

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