#031C3A#031C3A

#031C3A is a very dark, moderate cyan. Relative luminance 0.012; OKLCH L 22.7% C 0.066 H 254.5°. Best body text is #FFFFFF at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#031C3A
RGBrgb(3, 28, 58)
HSLhsl(213, 90%, 12%)
HSVhsv(213, 95%, 23%)
CMYKcmyk(94.8%, 51.7%, 0%, 77.3%)
CIE-LABlab(10.22, 3.92, -22.15)
CIE-LCHlch(10.22, 22.50, 280.03°)
OKLaboklab(22.7% -0.0177 -0.0636)
OKLCHoklch(22.7% 0.066 254.5)
XYZxyz(1.2162, 1.1552, 4.1610)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031C3A #3A2103
analogous
#03383A #031C3A #05033A
triadic
#031C3A #3A031C #1C3A03
tetradic
#031C3A #3A0338 #3A2103 #033A05
square
#031C3A #3A0338 #3A2103 #033A05
split-complementary
#031C3A #3A0503 #383A03
monochromatic
#020E1D #020E1D #031C3A #063874 #0954AE

Accessibility & contrast

On white

17.06
#031C3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#031C3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031C3A
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031C3A#FFFFFF#000000##FFFFFF
##031C3A1.0017.061.2317.06
#FFFFFF17.061.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1F3B
Deuteranopia (green-blind)
#021A39
Tritanopia (blue-blind)
#002328
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #031c3a;
/* rgb */ color: rgb(3, 28, 58);
/* oklch */ color: oklch(22.7% 0.066 254.5);
Tailwind
colors: {
  custom: {
    50: '#4e5770',
    500: '#031c3a',
    950: '#000000',
  },
}
SCSS
$custom: #031c3a;
$custom-light: #4e5770;
$custom-dark: #000000;
JSON
{
  "hex": "#031c3a",
  "rgb": {
    "r": 3,
    "g": 28,
    "b": 58
  },
  "hsl": {
    "h": 212.727,
    "s": 90.164,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22703,
    "c": 0.06601,
    "h": 254.5
  },
  "luminance": 0.01155
}

Semantic roles & 50–950 ramp

primary
#031C3A
secondary
#7D511C
accent
#9E29FF
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020307
muted
#78787A

Preview Lab

Preview with #031C3A

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

Preview Lab → · Contrast checker → · Palette generator →

#031C3A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva