#03183B#03183B

#03183B is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.7% C 0.073 H 259.1°. Best body text is #FFFFFF at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#03183B
RGBrgb(3, 24, 59)
HSLhsl(218, 90%, 12%)
HSVhsv(218, 95%, 23%)
CMYKcmyk(94.9%, 59.3%, 0%, 76.9%)
CIE-LABlab(8.89, 7.60, -25.01)
CIE-LCHlch(8.89, 26.14, 286.90°)
OKLaboklab(21.7% -0.0139 -0.0721)
OKLCHoklch(21.7% 0.073 259.1)
XYZxyz(1.1533, 0.9882, 4.2668)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#03183B #3B2603
analogous
#03343B #03183B #0A033B
triadic
#03183B #3B0318 #183B03
tetradic
#03183B #3B0334 #3B2603 #033B0A
square
#03183B #3B0334 #3B2603 #033B0A
split-complementary
#03183B #3B0A03 #343B03
monochromatic
#010C1D #010C1D #03183B #063075 #0947AF

Accessibility & contrast

On white

17.54
#03183B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #03183B
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##03183B#FFFFFF#000000##FFFFFF
##03183B1.0017.541.2017.54
#FFFFFF17.541.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031C3C
Deuteranopia (green-blind)
#00173A
Tritanopia (blue-blind)
#002126
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #03183b;
/* rgb */ color: rgb(3, 24, 59);
/* oklch */ color: oklch(21.7% 0.073 259.1);
Tailwind
colors: {
  custom: {
    50: '#4e5471',
    500: '#03183b',
    950: '#000000',
  },
}
SCSS
$custom: #03183b;
$custom-light: #4e5471;
$custom-dark: #000000;
JSON
{
  "hex": "#03183b",
  "rgb": {
    "r": 3,
    "g": 24,
    "b": 59
  },
  "hsl": {
    "h": 217.5,
    "s": 90.323,
    "l": 12.157
  },
  "oklch": {
    "l": 0.21704,
    "c": 0.07345,
    "h": 259.1
  },
  "luminance": 0.00988
}

Semantic roles & 50–950 ramp

primary
#03183B
secondary
#7E591C
accent
#AF29FF
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #03183B

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

Preview Lab → · Contrast checker → · Palette generator →

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