#031F46#031F46

#031F46 is a very dark, moderate cyan. Relative luminance 0.014; OKLCH L 24.6% C 0.081 H 257.4°. Best body text is #FFFFFF at 16.30:1 contrast (WCAG AA passes).

Color values

HEX#031F46
RGBrgb(3, 31, 70)
HSLhsl(215, 92%, 14%)
HSVhsv(215, 96%, 27%)
CMYKcmyk(95.7%, 55.7%, 0%, 72.5%)
CIE-LABlab(12.23, 7.33, -27.37)
CIE-LCHlch(12.23, 28.34, 284.99°)
OKLaboklab(24.56% -0.0177 -0.0789)
OKLCHoklch(24.56% 0.081 257.4)
XYZxyz(1.6326, 1.4413, 5.9853)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031F46 #462A03
analogous
#034146 #031F46 #080346
triadic
#031F46 #46031F #1F4603
tetradic
#031F46 #460341 #462A03 #034608
square
#031F46 #460341 #462A03 #034608
split-complementary
#031F46 #460803 #414603
monochromatic
#010D1D #010D1D #031F46 #063981 #0853BB

Accessibility & contrast

On white

16.30
#031F46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#031F46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031F46
16.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031F46#FFFFFF#000000##FFFFFF
##031F461.0016.301.2916.30
#FFFFFF16.301.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072347
Deuteranopia (green-blind)
#001D45
Tritanopia (blue-blind)
#00292F
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #031f46;
/* rgb */ color: rgb(3, 31, 70);
/* oklch */ color: oklch(24.6% 0.081 257.4);
Tailwind
colors: {
  custom: {
    50: '#525a7a',
    500: '#031f46',
    950: '#000000',
  },
}
SCSS
$custom: #031f46;
$custom-light: #525a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#031f46",
  "rgb": {
    "r": 3,
    "g": 31,
    "b": 70
  },
  "hsl": {
    "h": 214.925,
    "s": 91.781,
    "l": 14.314
  },
  "oklch": {
    "l": 0.24559,
    "c": 0.08084,
    "h": 257.4
  },
  "luminance": 0.01442
}

Semantic roles & 50–950 ramp

primary
#031F46
secondary
#875B1D
accent
#A529FF
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#030309
muted
#78787B

Preview Lab

Preview with #031F46

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

Preview Lab → · Contrast checker → · Palette generator →

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