#031328#031328

#031328 is a very dark, muted cyan. Relative luminance 0.006; OKLCH L 18.6% C 0.049 H 254.3°. Best body text is #FFFFFF at 18.62:1 contrast (WCAG AA passes).

Color values

HEX#031328
RGBrgb(3, 19, 40)
HSLhsl(214, 86%, 8%)
HSVhsv(214, 93%, 16%)
CMYKcmyk(92.5%, 52.5%, 0%, 84.3%)
CIE-LABlab(5.76, 1.91, -16.07)
CIE-LCHlch(5.76, 16.19, 276.79°)
OKLaboklab(18.6% -0.0133 -0.0472)
OKLCHoklch(18.6% 0.049 254.3)
XYZxyz(0.6533, 0.6382, 2.0958)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031328 #281803
analogous
#032528 #031328 #050328
triadic
#031328 #280313 #132803
tetradic
#031328 #280325 #281803 #032805
square
#031328 #280325 #281803 #032805
split-complementary
#031328 #280503 #252803
monochromatic
#020E1C #020E1C #031328 #072E61 #0C499A

Accessibility & contrast

On white

18.62
#031328 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#031328 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031328
18.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031328#FFFFFF#000000##FFFFFF
##0313281.0018.621.1318.62
#FFFFFF18.621.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091529
Deuteranopia (green-blind)
#041128
Tritanopia (blue-blind)
#00181B
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #031328;
/* rgb */ color: rgb(3, 19, 40);
/* oklch */ color: oklch(18.6% 0.049 254.3);
Tailwind
colors: {
  custom: {
    50: '#485062',
    500: '#031328',
    950: '#000000',
  },
}
SCSS
$custom: #031328;
$custom-light: #485062;
$custom-dark: #000000;
JSON
{
  "hex": "#031328",
  "rgb": {
    "r": 3,
    "g": 19,
    "b": 40
  },
  "hsl": {
    "h": 214.054,
    "s": 86.047,
    "l": 8.431
  },
  "oklch": {
    "l": 0.186,
    "c": 0.04905,
    "h": 254.3
  },
  "luminance": 0.00638
}

Semantic roles & 50–950 ramp

primary
#031328
secondary
#6C491B
accent
#A22CFC
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010205
muted
#777879

Preview Lab

Preview with #031328

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

Preview Lab → · Contrast checker → · Palette generator →

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