#031734#031734

#031734 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 20.8% C 0.063 H 256.9°. Best body text is #FFFFFF at 17.86:1 contrast (WCAG AA passes).

Color values

HEX#031734
RGBrgb(3, 23, 52)
HSLhsl(216, 89%, 11%)
HSVhsv(216, 94%, 20%)
CMYKcmyk(94.2%, 55.8%, 0%, 79.6%)
CIE-LABlab(7.95, 4.99, -21.49)
CIE-LCHlch(7.95, 22.06, 283.07°)
OKLaboklab(20.79% -0.0144 -0.0618)
OKLCHoklch(20.79% 0.063 256.9)
XYZxyz(0.9636, 0.8800, 3.3672)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031734 #342003
analogous
#032F34 #031734 #070334
triadic
#031734 #340317 #173403
tetradic
#031734 #34032F #342003 #033407
square
#031734 #34032F #342003 #033407
split-complementary
#031734 #340703 #2F3403
monochromatic
#020D1D #020D1D #031734 #06316E #0A4AA8

Accessibility & contrast

On white

17.86
#031734 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#031734 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031734
17.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031734#FFFFFF#000000##FFFFFF
##0317341.0017.861.1817.86
#FFFFFF17.861.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071A35
Deuteranopia (green-blind)
#001533
Tritanopia (blue-blind)
#001E22
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #031734;
/* rgb */ color: rgb(3, 23, 52);
/* oklch */ color: oklch(20.8% 0.063 256.9);
Tailwind
colors: {
  custom: {
    50: '#4c536c',
    500: '#031734',
    950: '#000000',
  },
}
SCSS
$custom: #031734;
$custom-light: #4c536c;
$custom-dark: #000000;
JSON
{
  "hex": "#031734",
  "rgb": {
    "r": 3,
    "g": 23,
    "b": 52
  },
  "hsl": {
    "h": 215.51,
    "s": 89.091,
    "l": 10.784
  },
  "oklch": {
    "l": 0.2079,
    "c": 0.06342,
    "h": 256.9
  },
  "luminance": 0.0088
}

Semantic roles & 50–950 ramp

primary
#031734
secondary
#77521C
accent
#A829FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010207
muted
#77787A

Preview Lab

Preview with #031734

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

Preview Lab → · Contrast checker → · Palette generator →

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