#1F405B#1F405B

#1F405B is a dark, moderate cyan. Relative luminance 0.047; OKLCH L 36.0% C 0.061 H 245.3°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#1F405B
RGBrgb(31, 64, 91)
HSLhsl(207, 49%, 24%)
HSVhsv(207, 66%, 36%)
CMYKcmyk(65.9%, 29.7%, 0%, 64.3%)
CIE-LABlab(25.90, -2.64, -19.70)
CIE-LCHlch(25.90, 19.88, 262.37°)
OKLaboklab(35.98% -0.0254 -0.0554)
OKLCHoklch(35.98% 0.061 245.3)
XYZxyz(4.2861, 4.7130, 10.5793)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F405B #5B3A1F
analogous
#1F5B58 #1F405B #1F225B
triadic
#1F405B #5B1F40 #405B1F
tetradic
#1F405B #581F5B #5B3A1F #225B1F
square
#1F405B #581F5B #5B3A1F #225B1F
split-complementary
#1F405B #5B1F22 #5B581F
monochromatic
#081017 #0F202D #1F405B #2F6089 #3E80B6

Accessibility & contrast

On white

10.81
#1F405B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#1F405B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F405B
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F405B#FFFFFF#000000##FFFFFF
##1F405B1.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34415C
Deuteranopia (green-blind)
#2C3B5A
Tritanopia (blue-blind)
#004649
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1f405b;
/* rgb */ color: rgb(31, 64, 91);
/* oklch */ color: oklch(36.0% 0.061 245.3);
Tailwind
colors: {
  custom: {
    50: '#617489',
    500: '#1f405b',
    950: '#000000',
  },
}
SCSS
$custom: #1f405b;
$custom-light: #617489;
$custom-dark: #000000;
JSON
{
  "hex": "#1f405b",
  "rgb": {
    "r": 31,
    "g": 64,
    "b": 91
  },
  "hsl": {
    "h": 207,
    "s": 49.18,
    "l": 23.922
  },
  "oklch": {
    "l": 0.3598,
    "c": 0.06099,
    "h": 245.3
  },
  "luminance": 0.04713
}

Semantic roles & 50–950 ramp

primary
#1F405B
secondary
#906746
accent
#8D4FD9
background
#F5F7F8
surface
#EAEDF0
border
#C6C8CB
text
#05080B
muted
#797B7C

Preview Lab

Preview with #1F405B

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

Preview Lab → · Contrast checker → · Palette generator →

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