#031846#031846

#031846 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.8% C 0.091 H 262.0°. Best body text is #FFFFFF at 17.17:1 contrast (WCAG AA passes).

Color values

HEX#031846
RGBrgb(3, 24, 70)
HSLhsl(221, 92%, 14%)
HSVhsv(221, 96%, 27%)
CMYKcmyk(95.7%, 65.7%, 0%, 72.5%)
CIE-LABlab(9.91, 12.87, -31.14)
CIE-LCHlch(9.91, 33.69, 292.45°)
OKLaboklab(22.8% -0.0127 -0.0901)
OKLCHoklch(22.8% 0.091 262)
XYZxyz(1.4693, 1.1146, 5.9309)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031846 #463103
analogous
#033A46 #031846 #100346
triadic
#031846 #460318 #184603
tetradic
#031846 #46033A #463103 #034610
square
#031846 #46033A #463103 #034610
split-complementary
#031846 #461003 #3A4603
monochromatic
#010A1D #010A1D #031846 #062C81 #0840BB

Accessibility & contrast

On white

17.17
#031846 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#031846 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031846
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031846#FFFFFF#000000##FFFFFF
##0318461.0017.171.2217.17
#FFFFFF17.171.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F48
Deuteranopia (green-blind)
#001845
Tritanopia (blue-blind)
#00242C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #031846;
/* rgb */ color: rgb(3, 24, 70);
/* oklch */ color: oklch(22.8% 0.091 262.0);
Tailwind
colors: {
  custom: {
    50: '#52547a',
    500: '#031846',
    950: '#000000',
  },
}
SCSS
$custom: #031846;
$custom-light: #52547a;
$custom-dark: #000000;
JSON
{
  "hex": "#031846",
  "rgb": {
    "r": 3,
    "g": 24,
    "b": 70
  },
  "hsl": {
    "h": 221.194,
    "s": 91.781,
    "l": 14.314
  },
  "oklch": {
    "l": 0.22797,
    "c": 0.09101,
    "h": 262
  },
  "luminance": 0.01115
}

Semantic roles & 50–950 ramp

primary
#031846
secondary
#87661D
accent
#BC29FF
background
#F5F4F7
surface
#E8E7ED
border
#C4C3C8
text
#030209
muted
#78787B

Preview Lab

Preview with #031846

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

Preview Lab → · Contrast checker → · Palette generator →

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