#03183A#03183A

#03183A is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.6% C 0.072 H 258.7°. Best body text is #FFFFFF at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#03183A
RGBrgb(3, 24, 58)
HSLhsl(217, 90%, 12%)
HSVhsv(217, 95%, 23%)
CMYKcmyk(94.8%, 58.6%, 0%, 77.3%)
CIE-LABlab(8.81, 7.11, -24.44)
CIE-LCHlch(8.81, 25.45, 286.22°)
OKLaboklab(21.61% -0.0141 -0.0704)
OKLCHoklch(21.61% 0.072 258.7)
XYZxyz(1.1276, 0.9780, 4.1315)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#03183A #3A2503
analogous
#03343A #03183A #0A033A
triadic
#03183A #3A0318 #183A03
tetradic
#03183A #3A0334 #3A2503 #033A0A
square
#03183A #3A0334 #3A2503 #033A0A
split-complementary
#03183A #3A0A03 #343A03
monochromatic
#020C1D #020C1D #03183A #063074 #0948AE

Accessibility & contrast

On white

17.56
#03183A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#03183A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #03183A
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##03183A#FFFFFF#000000##FFFFFF
##03183A1.0017.561.2017.56
#FFFFFF17.561.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041C3B
Deuteranopia (green-blind)
#001739
Tritanopia (blue-blind)
#002026
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #03183a;
/* rgb */ color: rgb(3, 24, 58);
/* oklch */ color: oklch(21.6% 0.072 258.7);
Tailwind
colors: {
  custom: {
    50: '#4e5470',
    500: '#03183a',
    950: '#000000',
  },
}
SCSS
$custom: #03183a;
$custom-light: #4e5470;
$custom-dark: #000000;
JSON
{
  "hex": "#03183a",
  "rgb": {
    "r": 3,
    "g": 24,
    "b": 58
  },
  "hsl": {
    "h": 217.091,
    "s": 90.164,
    "l": 11.961
  },
  "oklch": {
    "l": 0.21611,
    "c": 0.07182,
    "h": 258.7
  },
  "luminance": 0.00978
}

Semantic roles & 50–950 ramp

primary
#03183A
secondary
#7D581C
accent
#AD29FF
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #03183A

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

Preview Lab → · Contrast checker → · Palette generator →

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