#031D40#031D40

#031D40 is a very dark, moderate cyan. Relative luminance 0.013; OKLCH L 23.5% C 0.074 H 256.6°. Best body text is #FFFFFF at 16.75:1 contrast (WCAG AA passes).

Color values

HEX#031D40
RGBrgb(3, 29, 64)
HSLhsl(214, 91%, 13%)
HSVhsv(214, 95%, 25%)
CMYKcmyk(95.3%, 54.7%, 0%, 74.9%)
CIE-LABlab(11.05, 6.03, -25.08)
CIE-LCHlch(11.05, 25.79, 283.51°)
OKLaboklab(23.49% -0.0172 -0.0722)
OKLCHoklch(23.49% 0.074 256.6)
XYZxyz(1.4020, 1.2681, 5.0204)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031D40 #402603
analogous
#033B40 #031D40 #070340
triadic
#031D40 #40031D #1D4003
tetradic
#031D40 #40033B #402603 #034007
square
#031D40 #40033B #402603 #034007
split-complementary
#031D40 #400703 #3B4003
monochromatic
#010D1D #010D1D #031D40 #06377A #0852B5

Accessibility & contrast

On white

16.75
#031D40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #031D40
16.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031D40#FFFFFF#000000##FFFFFF
##031D401.0016.751.2516.75
#FFFFFF16.751.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082141
Deuteranopia (green-blind)
#001B3F
Tritanopia (blue-blind)
#00252B
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #031d40;
/* rgb */ color: rgb(3, 29, 64);
/* oklch */ color: oklch(23.5% 0.074 256.6);
Tailwind
colors: {
  custom: {
    50: '#505875',
    500: '#031d40',
    950: '#000000',
  },
}
SCSS
$custom: #031d40;
$custom-light: #505875;
$custom-dark: #000000;
JSON
{
  "hex": "#031d40",
  "rgb": {
    "r": 3,
    "g": 29,
    "b": 64
  },
  "hsl": {
    "h": 214.426,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.23495,
    "c": 0.0742,
    "h": 256.6
  },
  "luminance": 0.01268
}

Semantic roles & 50–950 ramp

primary
#031D40
secondary
#82571D
accent
#A429FF
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020308
muted
#78787B

Preview Lab

Preview with #031D40

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

Preview Lab → · Contrast checker → · Palette generator →

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