#031834#031834

#031834 is a very dark, moderate cyan. Relative luminance 0.009; OKLCH L 21.1% C 0.062 H 255.7°. Best body text is #FFFFFF at 17.73:1 contrast (WCAG AA passes).

Color values

HEX#031834
RGBrgb(3, 24, 52)
HSLhsl(214, 89%, 11%)
HSVhsv(214, 94%, 20%)
CMYKcmyk(94.2%, 53.8%, 0%, 79.6%)
CIE-LABlab(8.31, 4.18, -20.91)
CIE-LCHlch(8.31, 21.32, 281.31°)
OKLaboklab(21.07% -0.0153 -0.06)
OKLCHoklch(21.07% 0.062 255.7)
XYZxyz(0.9838, 0.9204, 3.3740)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031834 #341F03
analogous
#033034 #031834 #070334
triadic
#031834 #340318 #183403
tetradic
#031834 #340330 #341F03 #033407
square
#031834 #340330 #341F03 #033407
split-complementary
#031834 #340703 #303403
monochromatic
#020D1D #020D1D #031834 #06336E #0A4DA8

Accessibility & contrast

On white

17.73
#031834 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #031834
17.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031834#FFFFFF#000000##FFFFFF
##0318341.0017.731.1817.73
#FFFFFF17.731.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091B35
Deuteranopia (green-blind)
#011633
Tritanopia (blue-blind)
#001F23
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #031834;
/* rgb */ color: rgb(3, 24, 52);
/* oklch */ color: oklch(21.1% 0.062 255.7);
Tailwind
colors: {
  custom: {
    50: '#4c546b',
    500: '#031834',
    950: '#000000',
  },
}
SCSS
$custom: #031834;
$custom-light: #4c546b;
$custom-dark: #000000;
JSON
{
  "hex": "#031834",
  "rgb": {
    "r": 3,
    "g": 24,
    "b": 52
  },
  "hsl": {
    "h": 214.286,
    "s": 89.091,
    "l": 10.784
  },
  "oklch": {
    "l": 0.2107,
    "c": 0.06196,
    "h": 255.7
  },
  "luminance": 0.00921
}

Semantic roles & 50–950 ramp

primary
#031834
secondary
#77501C
accent
#A329FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010207
muted
#77787A

Preview Lab

Preview with #031834

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

Preview Lab → · Contrast checker → · Palette generator →

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