#1F406C#1F406C

#1F406C is a dark, moderate cyan. Relative luminance 0.050; OKLCH L 37.0% C 0.085 H 256.3°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#1F406C
RGBrgb(31, 64, 108)
HSLhsl(214, 55%, 27%)
HSVhsv(214, 71%, 42%)
CMYKcmyk(71.3%, 40.7%, 0%, 57.6%)
CIE-LABlab(26.85, 3.95, -29.16)
CIE-LCHlch(26.85, 29.42, 277.71°)
OKLaboklab(37.03% -0.0202 -0.083)
OKLCHoklch(37.03% 0.085 256.3)
XYZxyz(5.1043, 5.0403, 14.8883)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F406C #6C4B1F
analogous
#1F676C #1F406C #251F6C
triadic
#1F406C #6C1F40 #406C1F
tetradic
#1F406C #6C1F67 #6C4B1F #1F6C25
square
#1F406C #6C1F67 #6C4B1F #1F6C25
split-complementary
#1F406C #6C251F #676C1F
monochromatic
#070E18 #11243C #1F406C #2D5C9C #3E79C8

Accessibility & contrast

On white

10.46
#1F406C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F406C
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F406C#FFFFFF#000000##FFFFFF
##1F406C1.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C436E
Deuteranopia (green-blind)
#213C6B
Tritanopia (blue-blind)
#004A50
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1f406c;
/* rgb */ color: rgb(31, 64, 108);
/* oklch */ color: oklch(37.0% 0.085 256.3);
Tailwind
colors: {
  custom: {
    50: '#647496',
    500: '#1f406c',
    950: '#000000',
  },
}
SCSS
$custom: #1f406c;
$custom-light: #647496;
$custom-dark: #000000;
JSON
{
  "hex": "#1f406c",
  "rgb": {
    "r": 31,
    "g": 64,
    "b": 108
  },
  "hsl": {
    "h": 214.286,
    "s": 55.396,
    "l": 27.255
  },
  "oklch": {
    "l": 0.37033,
    "c": 0.0854,
    "h": 256.3
  },
  "luminance": 0.05041
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F406C

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

Preview Lab → · Contrast checker → · Palette generator →

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