#031F35#031F35

#031F35 is a very dark, muted cyan. Relative luminance 0.013; OKLCH L 23.2% C 0.054 H 245.9°. Best body text is #FFFFFF at 16.78:1 contrast (WCAG AA passes).

Color values

HEX#031F35
RGBrgb(3, 31, 53)
HSLhsl(206, 89%, 11%)
HSVhsv(206, 94%, 21%)
CMYKcmyk(94.3%, 41.5%, 0%, 79.2%)
CIE-LABlab(10.97, -0.79, -17.39)
CIE-LCHlch(10.97, 17.41, 267.41°)
OKLaboklab(23.17% -0.0222 -0.0495)
OKLCHoklch(23.17% 0.054 245.9)
XYZxyz(1.1699, 1.2562, 3.5483)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031F35 #351903
analogous
#033532 #031F35 #030635
triadic
#031F35 #35031F #1F3503
tetradic
#031F35 #320335 #351903 #063503
square
#031F35 #320335 #351903 #063503
split-complementary
#031F35 #350306 #353203
monochromatic
#02111D #02111D #031F35 #06416F #0A63A9

Accessibility & contrast

On white

16.78
#031F35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #031F35
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031F35#FFFFFF#000000##FFFFFF
##031F351.0016.781.2516.78
#FFFFFF16.781.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152036
Deuteranopia (green-blind)
#0D1B35
Tritanopia (blue-blind)
#002427
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #031f35;
/* rgb */ color: rgb(3, 31, 53);
/* oklch */ color: oklch(23.2% 0.054 245.9);
Tailwind
colors: {
  custom: {
    50: '#4c5a6c',
    500: '#031f35',
    950: '#000000',
  },
}
SCSS
$custom: #031f35;
$custom-light: #4c5a6c;
$custom-dark: #000000;
JSON
{
  "hex": "#031f35",
  "rgb": {
    "r": 3,
    "g": 31,
    "b": 53
  },
  "hsl": {
    "h": 206.4,
    "s": 89.286,
    "l": 10.98
  },
  "oklch": {
    "l": 0.23168,
    "c": 0.05427,
    "h": 245.9
  },
  "luminance": 0.01256
}

Semantic roles & 50–950 ramp

primary
#031F35
secondary
#78441C
accent
#8729FF
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010307
muted
#77787A

Preview Lab

Preview with #031F35

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

Preview Lab → · Contrast checker → · Palette generator →

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