#031C3B#031C3B

#031C3B is a very dark, moderate cyan. Relative luminance 0.012; OKLCH L 22.8% C 0.068 H 255.1°. Best body text is #FFFFFF at 17.03:1 contrast (WCAG AA passes).

Color values

HEX#031C3B
RGBrgb(3, 28, 59)
HSLhsl(213, 90%, 12%)
HSVhsv(213, 95%, 23%)
CMYKcmyk(94.9%, 52.5%, 0%, 76.9%)
CIE-LABlab(10.30, 4.40, -22.74)
CIE-LCHlch(10.30, 23.17, 280.95°)
OKLaboklab(22.79% -0.0174 -0.0653)
OKLCHoklch(22.79% 0.068 255.1)
XYZxyz(1.2419, 1.1655, 4.2963)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031C3B #3B2203
analogous
#03383B #031C3B #06033B
triadic
#031C3B #3B031C #1C3B03
tetradic
#031C3B #3B0338 #3B2203 #033B06
square
#031C3B #3B0338 #3B2203 #033B06
split-complementary
#031C3B #3B0603 #383B03
monochromatic
#010E1D #010E1D #031C3B #063875 #0953AF

Accessibility & contrast

On white

17.03
#031C3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #031C3B
17.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031C3B#FFFFFF#000000##FFFFFF
##031C3B1.0017.031.2317.03
#FFFFFF17.031.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1F3C
Deuteranopia (green-blind)
#011A3A
Tritanopia (blue-blind)
#002328
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #031c3b;
/* rgb */ color: rgb(3, 28, 59);
/* oklch */ color: oklch(22.8% 0.068 255.1);
Tailwind
colors: {
  custom: {
    50: '#4e5771',
    500: '#031c3b',
    950: '#000000',
  },
}
SCSS
$custom: #031c3b;
$custom-light: #4e5771;
$custom-dark: #000000;
JSON
{
  "hex": "#031c3b",
  "rgb": {
    "r": 3,
    "g": 28,
    "b": 59
  },
  "hsl": {
    "h": 213.214,
    "s": 90.323,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22788,
    "c": 0.06761,
    "h": 255.1
  },
  "luminance": 0.01166
}

Semantic roles & 50–950 ramp

primary
#031C3B
secondary
#7E521C
accent
#9F29FF
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020307
muted
#78787A

Preview Lab

Preview with #031C3B

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

Preview Lab → · Contrast checker → · Palette generator →

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