#031A35#031A35

#031A35 is a very dark, moderate cyan. Relative luminance 0.010; OKLCH L 21.7% C 0.061 H 253.7°. Best body text is #FFFFFF at 17.46:1 contrast (WCAG AA passes).

Color values

HEX#031A35
RGBrgb(3, 26, 53)
HSLhsl(212, 89%, 11%)
HSVhsv(212, 94%, 21%)
CMYKcmyk(94.3%, 50.9%, 0%, 79.2%)
CIE-LABlab(9.12, 3.07, -20.34)
CIE-LCHlch(9.12, 20.57, 278.59°)
OKLaboklab(21.72% -0.017 -0.0583)
OKLCHoklch(21.72% 0.061 253.7)
XYZxyz(1.0493, 1.0151, 3.5081)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031A35 #351E03
analogous
#033335 #031A35 #050335
triadic
#031A35 #35031A #1A3503
tetradic
#031A35 #350333 #351E03 #033505
square
#031A35 #350333 #351E03 #033505
split-complementary
#031A35 #350503 #333503
monochromatic
#020E1D #020E1D #031A35 #06366F #0A53A9

Accessibility & contrast

On white

17.46
#031A35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#031A35 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031A35
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031A35#FFFFFF#000000##FFFFFF
##031A351.0017.461.2017.46
#FFFFFF17.461.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1C36
Deuteranopia (green-blind)
#041834
Tritanopia (blue-blind)
#002024
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #031a35;
/* rgb */ color: rgb(3, 26, 53);
/* oklch */ color: oklch(21.7% 0.061 253.7);
Tailwind
colors: {
  custom: {
    50: '#4c556c',
    500: '#031a35',
    950: '#000000',
  },
}
SCSS
$custom: #031a35;
$custom-light: #4c556c;
$custom-dark: #000000;
JSON
{
  "hex": "#031a35",
  "rgb": {
    "r": 3,
    "g": 26,
    "b": 53
  },
  "hsl": {
    "h": 212.4,
    "s": 89.286,
    "l": 10.98
  },
  "oklch": {
    "l": 0.2172,
    "c": 0.06075,
    "h": 253.7
  },
  "luminance": 0.01015
}

Semantic roles & 50–950 ramp

primary
#031A35
secondary
#784E1C
accent
#9C29FF
background
#F4F4F6
surface
#E7E8EB
border
#C3C4C6
text
#010307
muted
#77787A

Preview Lab

Preview with #031A35

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

Preview Lab → · Contrast checker → · Palette generator →

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