#1F406A#1F406A

#1F406A is a dark, moderate cyan. Relative luminance 0.050; OKLCH L 36.9% C 0.082 H 255.5°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#1F406A
RGBrgb(31, 64, 106)
HSLhsl(214, 55%, 27%)
HSVhsv(214, 71%, 42%)
CMYKcmyk(70.8%, 39.6%, 0%, 58.4%)
CIE-LABlab(26.73, 3.16, -28.07)
CIE-LCHlch(26.73, 28.25, 276.41°)
OKLaboklab(36.9% -0.0207 -0.0798)
OKLCHoklch(36.9% 0.082 255.5)
XYZxyz(4.9990, 4.9982, 14.3342)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F406A #6A491F
analogous
#1F666A #1F406A #241F6A
triadic
#1F406A #6A1F40 #406A1F
tetradic
#1F406A #6A1F66 #6A491F #1F6A24
square
#1F406A #6A1F66 #6A491F #1F6A24
split-complementary
#1F406A #6A241F #666A1F
monochromatic
#070E18 #11233B #1F406A #2D5D99 #3D79C6

Accessibility & contrast

On white

10.50
#1F406A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#1F406A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F406A
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F406A#FFFFFF#000000##FFFFFF
##1F406A1.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D436C
Deuteranopia (green-blind)
#223C69
Tritanopia (blue-blind)
#004A50
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1f406a;
/* rgb */ color: rgb(31, 64, 106);
/* oklch */ color: oklch(36.9% 0.082 255.5);
Tailwind
colors: {
  custom: {
    50: '#647495',
    500: '#1f406a',
    950: '#000000',
  },
}
SCSS
$custom: #1f406a;
$custom-light: #647495;
$custom-dark: #000000;
JSON
{
  "hex": "#1f406a",
  "rgb": {
    "r": 31,
    "g": 64,
    "b": 106
  },
  "hsl": {
    "h": 213.6,
    "s": 54.745,
    "l": 26.863
  },
  "oklch": {
    "l": 0.36901,
    "c": 0.08245,
    "h": 255.5
  },
  "luminance": 0.04999
}

Semantic roles & 50–950 ramp

primary
#1F406A
secondary
#9E7847
accent
#9D4ADE
background
#F6F7F9
surface
#EBEDF1
border
#C6C8CB
text
#06080D
muted
#7A7B7E

Preview Lab

Preview with #1F406A

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

Preview Lab → · Contrast checker → · Palette generator →

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