#031346#031346

#031346 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.6% C 0.098 H 264.2°. Best body text is #FFFFFF at 17.72:1 contrast (WCAG AA passes).

Color values

HEX#031346
RGBrgb(3, 19, 70)
HSLhsl(226, 92%, 14%)
HSVhsv(226, 96%, 27%)
CMYKcmyk(95.7%, 72.9%, 0%, 72.5%)
CIE-LABlab(8.37, 16.81, -33.67)
CIE-LCHlch(8.37, 37.63, 296.53°)
OKLaboklab(21.65% -0.01 -0.0976)
OKLCHoklch(21.65% 0.098 264.2)
XYZxyz(1.3755, 0.9271, 5.8996)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031346 #463603
analogous
#033546 #031346 #150346
triadic
#031346 #460313 #134603
tetradic
#031346 #460335 #463603 #034615
square
#031346 #460335 #463603 #034615
split-complementary
#031346 #461503 #354603
monochromatic
#01081D #01081D #031346 #062381 #0833BB

Accessibility & contrast

On white

17.72
#031346 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#031346 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031346
17.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031346#FFFFFF#000000##FFFFFF
##0313461.0017.721.1917.72
#FFFFFF17.721.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C48
Deuteranopia (green-blind)
#001545
Tritanopia (blue-blind)
#00212A
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #031346;
/* rgb */ color: rgb(3, 19, 70);
/* oklch */ color: oklch(21.6% 0.098 264.2);
Tailwind
colors: {
  custom: {
    50: '#53507a',
    500: '#031346',
    950: '#000000',
  },
}
SCSS
$custom: #031346;
$custom-light: #53507a;
$custom-dark: #000000;
JSON
{
  "hex": "#031346",
  "rgb": {
    "r": 3,
    "g": 19,
    "b": 70
  },
  "hsl": {
    "h": 225.672,
    "s": 91.781,
    "l": 14.314
  },
  "oklch": {
    "l": 0.21648,
    "c": 0.0981,
    "h": 264.2
  },
  "luminance": 0.00927
}

Semantic roles & 50–950 ramp

primary
#031346
secondary
#876E1D
accent
#CC29FF
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030209
muted
#78787B

Preview Lab

Preview with #031346

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

Preview Lab → · Contrast checker → · Palette generator →

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