#03153F#03153F

#03153F is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.3% C 0.084 H 262.3°. Best body text is #FFFFFF at 17.75:1 contrast (WCAG AA passes).

Color values

HEX#03153F
RGBrgb(3, 21, 63)
HSLhsl(222, 91%, 13%)
HSVhsv(222, 95%, 25%)
CMYKcmyk(95.2%, 66.7%, 0%, 75.3%)
CIE-LABlab(8.26, 11.95, -28.90)
CIE-LCHlch(8.26, 31.28, 292.47°)
OKLaboklab(21.34% -0.0113 -0.0836)
OKLCHoklch(21.34% 0.084 262.3)
XYZxyz(1.2026, 0.9144, 4.8148)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#03153F #3F2D03
analogous
#03333F #03153F #0F033F
triadic
#03153F #3F0315 #153F03
tetradic
#03153F #3F0333 #3F2D03 #033F0F
square
#03153F #3F0333 #3F2D03 #033F0F
split-complementary
#03153F #3F0F03 #333F03
monochromatic
#010A1D #010A1D #03153F #062879 #093CB4

Accessibility & contrast

On white

17.75
#03153F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#03153F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #03153F
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##03153F#FFFFFF#000000##FFFFFF
##03153F1.0017.751.1817.75
#FFFFFF17.751.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B40
Deuteranopia (green-blind)
#00153E
Tritanopia (blue-blind)
#002027
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #03153f;
/* rgb */ color: rgb(3, 21, 63);
/* oklch */ color: oklch(21.3% 0.084 262.3);
Tailwind
colors: {
  custom: {
    50: '#505174',
    500: '#03153f',
    950: '#000000',
  },
}
SCSS
$custom: #03153f;
$custom-light: #505174;
$custom-dark: #000000;
JSON
{
  "hex": "#03153f",
  "rgb": {
    "r": 3,
    "g": 21,
    "b": 63
  },
  "hsl": {
    "h": 222,
    "s": 90.909,
    "l": 12.941
  },
  "oklch": {
    "l": 0.21339,
    "c": 0.08437,
    "h": 262.3
  },
  "luminance": 0.00915
}

Semantic roles & 50–950 ramp

primary
#03153F
secondary
#81631D
accent
#BF29FF
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#020208
muted
#78787B

Preview Lab

Preview with #03153F

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

Preview Lab → · Contrast checker → · Palette generator →

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