#031747#031747

#031747 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.7% C 0.094 H 262.6°. Best body text is #FFFFFF at 17.25:1 contrast (WCAG AA passes).

Color values

HEX#031747
RGBrgb(3, 23, 71)
HSLhsl(222, 92%, 15%)
HSVhsv(222, 96%, 28%)
CMYKcmyk(95.8%, 67.6%, 0%, 72.2%)
CIE-LABlab(9.70, 14.13, -32.19)
CIE-LCHlch(9.70, 35.15, 293.69°)
OKLaboklab(22.67% -0.0121 -0.0932)
OKLCHoklch(22.67% 0.094 262.6)
XYZxyz(1.4809, 1.0869, 6.0918)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031747 #473303
analogous
#033947 #031747 #110347
triadic
#031747 #470317 #174703
tetradic
#031747 #470339 #473303 #034711
square
#031747 #470339 #473303 #034711
split-complementary
#031747 #471103 #394703
monochromatic
#010A1D #010A1D #031747 #052A82 #083DBC

Accessibility & contrast

On white

17.25
#031747 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #031747
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031747#FFFFFF#000000##FFFFFF
##0317471.0017.251.2217.25
#FFFFFF17.251.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E49
Deuteranopia (green-blind)
#001846
Tritanopia (blue-blind)
#00232C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #031747;
/* rgb */ color: rgb(3, 23, 71);
/* oklch */ color: oklch(22.7% 0.094 262.6);
Tailwind
colors: {
  custom: {
    50: '#53537b',
    500: '#031747',
    950: '#000000',
  },
}
SCSS
$custom: #031747;
$custom-light: #53537b;
$custom-dark: #000000;
JSON
{
  "hex": "#031747",
  "rgb": {
    "r": 3,
    "g": 23,
    "b": 71
  },
  "hsl": {
    "h": 222.353,
    "s": 91.892,
    "l": 14.51
  },
  "oklch": {
    "l": 0.22665,
    "c": 0.094,
    "h": 262.6
  },
  "luminance": 0.01087
}

Semantic roles & 50–950 ramp

primary
#031747
secondary
#88691E
accent
#C029FF
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#030209
muted
#78787B

Preview Lab

Preview with #031747

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

Preview Lab → · Contrast checker → · Palette generator →

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