#1F406D#1F406D

#1F406D is a dark, moderate cyan. Relative luminance 0.051; OKLCH L 37.1% C 0.087 H 256.8°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#1F406D
RGBrgb(31, 64, 109)
HSLhsl(215, 56%, 27%)
HSVhsv(215, 72%, 43%)
CMYKcmyk(71.6%, 41.3%, 0%, 57.3%)
CIE-LABlab(26.91, 4.34, -29.70)
CIE-LCHlch(26.91, 30.02, 278.32°)
OKLaboklab(37.1% -0.0199 -0.0846)
OKLCHoklch(37.1% 0.087 256.8)
XYZxyz(5.1578, 5.0617, 15.1702)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F406D #6D4C1F
analogous
#1F676D #1F406D #251F6D
triadic
#1F406D #6D1F40 #406D1F
tetradic
#1F406D #6D1F67 #6D4C1F #1F6D25
square
#1F406D #6D1F67 #6D4C1F #1F6D25
split-complementary
#1F406D #6D251F #676D1F
monochromatic
#070E18 #11243D #1F406D #2D5C9D #3E79C8

Accessibility & contrast

On white

10.44
#1F406D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#1F406D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F406D
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F406D#FFFFFF#000000##FFFFFF
##1F406D1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C446F
Deuteranopia (green-blind)
#203C6C
Tritanopia (blue-blind)
#004A51
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1f406d;
/* rgb */ color: rgb(31, 64, 109);
/* oklch */ color: oklch(37.1% 0.087 256.8);
Tailwind
colors: {
  custom: {
    50: '#657497',
    500: '#1f406d',
    950: '#000000',
  },
}
SCSS
$custom: #1f406d;
$custom-light: #657497;
$custom-dark: #000000;
JSON
{
  "hex": "#1f406d",
  "rgb": {
    "r": 31,
    "g": 64,
    "b": 109
  },
  "hsl": {
    "h": 214.615,
    "s": 55.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.371,
    "c": 0.08689,
    "h": 256.8
  },
  "luminance": 0.05062
}

Semantic roles & 50–950 ramp

primary
#1F406D
secondary
#A17B47
accent
#9F49DF
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080D
muted
#7A7B7E

Preview Lab

Preview with #1F406D

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

Preview Lab → · Contrast checker → · Palette generator →

#1F406D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva