#1F405D#1F405D

#1F405D is a dark, moderate cyan. Relative luminance 0.047; OKLCH L 36.1% C 0.064 H 247.2°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#1F405D
RGBrgb(31, 64, 93)
HSLhsl(208, 50%, 24%)
HSVhsv(208, 67%, 36%)
CMYKcmyk(66.7%, 31.2%, 0%, 63.5%)
CIE-LABlab(26.00, -1.88, -20.84)
CIE-LCHlch(26.00, 20.92, 264.84°)
OKLaboklab(36.1% -0.0247 -0.0587)
OKLCHoklch(36.1% 0.064 247.2)
XYZxyz(4.3735, 4.7480, 11.0398)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F405D #5D3C1F
analogous
#1F5D5B #1F405D #1F215D
triadic
#1F405D #5D1F40 #405D1F
tetradic
#1F405D #5B1F5D #5D3C1F #215D1F
square
#1F405D #5B1F5D #5D3C1F #215D1F
split-complementary
#1F405D #5D1F21 #5D5B1F
monochromatic
#081017 #10202F #1F405D #2E608B #3E7FB9

Accessibility & contrast

On white

10.77
#1F405D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#1F405D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F405D
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F405D#FFFFFF#000000##FFFFFF
##1F405D1.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33415E
Deuteranopia (green-blind)
#2B3B5C
Tritanopia (blue-blind)
#00474A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1f405d;
/* rgb */ color: rgb(31, 64, 93);
/* oklch */ color: oklch(36.1% 0.064 247.2);
Tailwind
colors: {
  custom: {
    50: '#61748b',
    500: '#1f405d',
    950: '#000000',
  },
}
SCSS
$custom: #1f405d;
$custom-light: #61748b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f405d",
  "rgb": {
    "r": 31,
    "g": 64,
    "b": 93
  },
  "hsl": {
    "h": 208.065,
    "s": 50,
    "l": 24.314
  },
  "oklch": {
    "l": 0.36095,
    "c": 0.06373,
    "h": 247.2
  },
  "luminance": 0.04748
}

Semantic roles & 50–950 ramp

primary
#1F405D
secondary
#926946
accent
#8F4EDA
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#05080C
muted
#7A7B7D

Preview Lab

Preview with #1F405D

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

Preview Lab → · Contrast checker → · Palette generator →

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