#031C38#031C38

#031C38 is a very dark, moderate cyan. Relative luminance 0.011; OKLCH L 22.5% C 0.063 H 253.2°. Best body text is #FFFFFF at 17.11:1 contrast (WCAG AA passes).

Color values

HEX#031C38
RGBrgb(3, 28, 56)
HSLhsl(212, 90%, 12%)
HSVhsv(212, 95%, 22%)
CMYKcmyk(94.6%, 50%, 0%, 78%)
CIE-LABlab(10.07, 2.95, -20.97)
CIE-LCHlch(10.07, 21.18, 278.02°)
OKLaboklab(22.54% -0.0182 -0.0601)
OKLCHoklch(22.54% 0.063 253.2)
XYZxyz(1.1663, 1.1352, 3.8983)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031C38 #381F03
analogous
#033738 #031C38 #040338
triadic
#031C38 #38031C #1C3803
tetradic
#031C38 #380337 #381F03 #033804
square
#031C38 #380337 #381F03 #033804
split-complementary
#031C38 #380403 #373803
monochromatic
#020F1D #020F1D #031C38 #063972 #0956AC

Accessibility & contrast

On white

17.11
#031C38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #031C38
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031C38#FFFFFF#000000##FFFFFF
##031C381.0017.111.2317.11
#FFFFFF17.111.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1E39
Deuteranopia (green-blind)
#041937
Tritanopia (blue-blind)
#002327
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #031c38;
/* rgb */ color: rgb(3, 28, 56);
/* oklch */ color: oklch(22.5% 0.063 253.2);
Tailwind
colors: {
  custom: {
    50: '#4d576f',
    500: '#031c38',
    950: '#000000',
  },
}
SCSS
$custom: #031c38;
$custom-light: #4d576f;
$custom-dark: #000000;
JSON
{
  "hex": "#031c38",
  "rgb": {
    "r": 3,
    "g": 28,
    "b": 56
  },
  "hsl": {
    "h": 211.698,
    "s": 89.831,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22536,
    "c": 0.0628,
    "h": 253.2
  },
  "luminance": 0.01135
}

Semantic roles & 50–950 ramp

primary
#031C38
secondary
#7B4E1C
accent
#9A29FF
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020307
muted
#78787A

Preview Lab

Preview with #031C38

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

Preview Lab → · Contrast checker → · Palette generator →

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