#031036#031036

#031036 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.2% C 0.077 H 263.7°. Best body text is #FFFFFF at 18.56:1 contrast (WCAG AA passes).

Color values

HEX#031036
RGBrgb(3, 16, 54)
HSLhsl(225, 89%, 11%)
HSVhsv(225, 94%, 21%)
CMYKcmyk(94.4%, 70.4%, 0%, 78.8%)
CIE-LABlab(5.93, 10.81, -26.20)
CIE-LCHlch(5.93, 28.34, 292.43°)
OKLaboklab(19.15% -0.0084 -0.0769)
OKLCHoklch(19.15% 0.077 263.7)
XYZxyz(0.8885, 0.6562, 3.5691)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031036 #362903
analogous
#032936 #031036 #0F0336
triadic
#031036 #360310 #103603
tetradic
#031036 #360329 #362903 #03360F
square
#031036 #360329 #362903 #03360F
split-complementary
#031036 #360F03 #293603
monochromatic
#02091D #02091D #031036 #062170 #0932AA

Accessibility & contrast

On white

18.56
#031036 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#031036 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031036
18.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031036#FFFFFF#000000##FFFFFF
##0310361.0018.561.1318.56
#FFFFFF18.561.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001637
Deuteranopia (green-blind)
#001135
Tritanopia (blue-blind)
#001A20
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #031036;
/* rgb */ color: rgb(3, 16, 54);
/* oklch */ color: oklch(19.2% 0.077 263.7);
Tailwind
colors: {
  custom: {
    50: '#4d4e6d',
    500: '#031036',
    950: '#000000',
  },
}
SCSS
$custom: #031036;
$custom-light: #4d4e6d;
$custom-dark: #000000;
JSON
{
  "hex": "#031036",
  "rgb": {
    "r": 3,
    "g": 16,
    "b": 54
  },
  "hsl": {
    "h": 224.706,
    "s": 89.474,
    "l": 11.176
  },
  "oklch": {
    "l": 0.19152,
    "c": 0.07733,
    "h": 263.7
  },
  "luminance": 0.00656
}

Semantic roles & 50–950 ramp

primary
#031036
secondary
#79611C
accent
#C829FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020107
muted
#78777A

Preview Lab

Preview with #031036

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

Preview Lab → · Contrast checker → · Palette generator →

#031036 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva