#03183F#03183F

#03183F is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.1% C 0.080 H 260.4°. Best body text is #FFFFFF at 17.41:1 contrast (WCAG AA passes).

Color values

HEX#03183F
RGBrgb(3, 24, 63)
HSLhsl(219, 91%, 13%)
HSVhsv(219, 95%, 25%)
CMYKcmyk(95.2%, 61.9%, 0%, 75.3%)
CIE-LABlab(9.25, 9.54, -27.29)
CIE-LCHlch(9.25, 28.90, 289.26°)
OKLaboklab(22.09% -0.0134 -0.0788)
OKLCHoklch(22.09% 0.08 260.4)
XYZxyz(1.2611, 1.0313, 4.8343)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#03183F #3F2A03
analogous
#03363F #03183F #0C033F
triadic
#03183F #3F0318 #183F03
tetradic
#03183F #3F0336 #3F2A03 #033F0C
square
#03183F #3F0336 #3F2A03 #033F0C
split-complementary
#03183F #3F0C03 #363F03
monochromatic
#010B1D #010B1D #03183F #062E79 #0945B4

Accessibility & contrast

On white

17.41
#03183F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#03183F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #03183F
17.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##03183F#FFFFFF#000000##FFFFFF
##03183F1.0017.411.2117.41
#FFFFFF17.411.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D40
Deuteranopia (green-blind)
#00173E
Tritanopia (blue-blind)
#002228
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #03183f;
/* rgb */ color: rgb(3, 24, 63);
/* oklch */ color: oklch(22.1% 0.080 260.4);
Tailwind
colors: {
  custom: {
    50: '#505474',
    500: '#03183f',
    950: '#000000',
  },
}
SCSS
$custom: #03183f;
$custom-light: #505474;
$custom-dark: #000000;
JSON
{
  "hex": "#03183f",
  "rgb": {
    "r": 3,
    "g": 24,
    "b": 63
  },
  "hsl": {
    "h": 219,
    "s": 90.909,
    "l": 12.941
  },
  "oklch": {
    "l": 0.22089,
    "c": 0.07993,
    "h": 260.4
  },
  "luminance": 0.01032
}

Semantic roles & 50–950 ramp

primary
#03183F
secondary
#815E1D
accent
#B429FF
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#020208
muted
#78787B

Preview Lab

Preview with #03183F

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

Preview Lab → · Contrast checker → · Palette generator →

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