#03153A#03153A

#03153A is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 20.8% C 0.076 H 261.2°. Best body text is #FFFFFF at 17.92:1 contrast (WCAG AA passes).

Color values

HEX#03153A
RGBrgb(3, 21, 58)
HSLhsl(220, 90%, 12%)
HSVhsv(220, 95%, 23%)
CMYKcmyk(94.8%, 63.8%, 0%, 77.3%)
CIE-LABlab(7.78, 9.54, -26.11)
CIE-LCHlch(7.78, 27.80, 290.08°)
OKLaboklab(20.83% -0.0117 -0.0754)
OKLCHoklch(20.83% 0.076 261.2)
XYZxyz(1.0692, 0.8610, 4.1120)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#03153A #3A2803
analogous
#03313A #03153A #0D033A
triadic
#03153A #3A0315 #153A03
tetradic
#03153A #3A0331 #3A2803 #033A0D
square
#03153A #3A0331 #3A2803 #033A0D
split-complementary
#03153A #3A0D03 #313A03
monochromatic
#020B1D #020B1D #03153A #062A74 #093FAE

Accessibility & contrast

On white

17.92
#03153A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#03153A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #03153A
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##03153A#FFFFFF#000000##FFFFFF
##03153A1.0017.921.1717.92
#FFFFFF17.921.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3B
Deuteranopia (green-blind)
#001539
Tritanopia (blue-blind)
#001E24
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #03153a;
/* rgb */ color: rgb(3, 21, 58);
/* oklch */ color: oklch(20.8% 0.076 261.2);
Tailwind
colors: {
  custom: {
    50: '#4e5170',
    500: '#03153a',
    950: '#000000',
  },
}
SCSS
$custom: #03153a;
$custom-light: #4e5170;
$custom-dark: #000000;
JSON
{
  "hex": "#03153a",
  "rgb": {
    "r": 3,
    "g": 21,
    "b": 58
  },
  "hsl": {
    "h": 220.364,
    "s": 90.164,
    "l": 11.961
  },
  "oklch": {
    "l": 0.20825,
    "c": 0.07632,
    "h": 261.2
  },
  "luminance": 0.00861
}

Semantic roles & 50–950 ramp

primary
#03153A
secondary
#7D5D1C
accent
#B929FF
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #03153A

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

Preview Lab → · Contrast checker → · Palette generator →

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