#03163F#03163F

#03163F is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.6% C 0.083 H 261.7°. Best body text is #FFFFFF at 17.64:1 contrast (WCAG AA passes).

Color values

HEX#03163F
RGBrgb(3, 22, 63)
HSLhsl(221, 91%, 13%)
HSVhsv(221, 95%, 25%)
CMYKcmyk(95.2%, 65.1%, 0%, 75.3%)
CIE-LABlab(8.58, 11.14, -28.37)
CIE-LCHlch(8.58, 30.48, 291.45°)
OKLaboklab(21.58% -0.0119 -0.082)
OKLCHoklch(21.58% 0.083 261.7)
XYZxyz(1.2213, 0.9519, 4.8210)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#03163F #3F2C03
analogous
#03343F #03163F #0E033F
triadic
#03163F #3F0316 #163F03
tetradic
#03163F #3F0334 #3F2C03 #033F0E
square
#03163F #3F0334 #3F2C03 #033F0E
split-complementary
#03163F #3F0E03 #343F03
monochromatic
#010A1D #010A1D #03163F #062A79 #093FB4

Accessibility & contrast

On white

17.64
#03163F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#03163F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #03163F
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##03163F#FFFFFF#000000##FFFFFF
##03163F1.0017.641.1917.64
#FFFFFF17.641.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C40
Deuteranopia (green-blind)
#00163E
Tritanopia (blue-blind)
#002027
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #03163f;
/* rgb */ color: rgb(3, 22, 63);
/* oklch */ color: oklch(21.6% 0.083 261.7);
Tailwind
colors: {
  custom: {
    50: '#505274',
    500: '#03163f',
    950: '#000000',
  },
}
SCSS
$custom: #03163f;
$custom-light: #505274;
$custom-dark: #000000;
JSON
{
  "hex": "#03163f",
  "rgb": {
    "r": 3,
    "g": 22,
    "b": 63
  },
  "hsl": {
    "h": 221,
    "s": 90.909,
    "l": 12.941
  },
  "oklch": {
    "l": 0.21585,
    "c": 0.08289,
    "h": 261.7
  },
  "luminance": 0.00952
}

Semantic roles & 50–950 ramp

primary
#03163F
secondary
#81611D
accent
#BB29FF
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#020208
muted
#78787B

Preview Lab

Preview with #03163F

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

Preview Lab → · Contrast checker → · Palette generator →

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