#031E38#031E38

#031E38 is a very dark, moderate cyan. Relative luminance 0.012; OKLCH L 23.1% C 0.060 H 250.4°. Best body text is #FFFFFF at 16.85:1 contrast (WCAG AA passes).

Color values

HEX#031E38
RGBrgb(3, 30, 56)
HSLhsl(209, 90%, 12%)
HSVhsv(209, 95%, 22%)
CMYKcmyk(94.6%, 46.4%, 0%, 78%)
CIE-LABlab(10.80, 1.40, -19.80)
CIE-LCHlch(10.80, 19.85, 274.05°)
OKLaboklab(23.11% -0.0201 -0.0566)
OKLCHoklch(23.11% 0.06 250.4)
XYZxyz(1.2154, 1.2333, 3.9146)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031E38 #381D03
analogous
#033838 #031E38 #030338
triadic
#031E38 #38031E #1E3803
tetradic
#031E38 #380338 #381D03 #033803
square
#031E38 #380338 #381D03 #033803
split-complementary
#031E38 #380303 #383803
monochromatic
#02101D #02101D #031E38 #063D72 #095CAC

Accessibility & contrast

On white

16.85
#031E38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#031E38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031E38
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031E38#FFFFFF#000000##FFFFFF
##031E381.0016.851.2516.85
#FFFFFF16.851.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112039
Deuteranopia (green-blind)
#081B37
Tritanopia (blue-blind)
#002428
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #031e38;
/* rgb */ color: rgb(3, 30, 56);
/* oklch */ color: oklch(23.1% 0.060 250.4);
Tailwind
colors: {
  custom: {
    50: '#4d596f',
    500: '#031e38',
    950: '#000000',
  },
}
SCSS
$custom: #031e38;
$custom-light: #4d596f;
$custom-dark: #000000;
JSON
{
  "hex": "#031e38",
  "rgb": {
    "r": 3,
    "g": 30,
    "b": 56
  },
  "hsl": {
    "h": 209.434,
    "s": 89.831,
    "l": 11.569
  },
  "oklch": {
    "l": 0.23105,
    "c": 0.06011,
    "h": 250.4
  },
  "luminance": 0.01233
}

Semantic roles & 50–950 ramp

primary
#031E38
secondary
#7B4B1C
accent
#9229FF
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020307
muted
#78787A

Preview Lab

Preview with #031E38

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

Preview Lab → · Contrast checker → · Palette generator →

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