#1F405A#1F405A

#1F405A is a dark, muted cyan. Relative luminance 0.047; OKLCH L 35.9% C 0.060 H 244.4°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#1F405A
RGBrgb(31, 64, 90)
HSLhsl(206, 49%, 24%)
HSVhsv(206, 66%, 35%)
CMYKcmyk(65.6%, 28.9%, 0%, 64.7%)
CIE-LABlab(25.85, -3.02, -19.13)
CIE-LCHlch(25.85, 19.37, 261.04°)
OKLaboklab(35.92% -0.0258 -0.0538)
OKLCHoklch(35.92% 0.06 244.4)
XYZxyz(4.2432, 4.6959, 10.3537)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F405A #5A391F
analogous
#1F5A56 #1F405A #1F225A
triadic
#1F405A #5A1F40 #405A1F
tetradic
#1F405A #561F5A #5A391F #225A1F
square
#1F405A #561F5A #5A391F #225A1F
split-complementary
#1F405A #5A1F22 #5A561F
monochromatic
#081017 #0F202C #1F405A #2F6088 #3E81B5

Accessibility & contrast

On white

10.83
#1F405A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F405A
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F405A#FFFFFF#000000##FFFFFF
##1F405A1.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35405B
Deuteranopia (green-blind)
#2D3B5A
Tritanopia (blue-blind)
#004649
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1f405a;
/* rgb */ color: rgb(31, 64, 90);
/* oklch */ color: oklch(35.9% 0.060 244.4);
Tailwind
colors: {
  custom: {
    50: '#617488',
    500: '#1f405a',
    950: '#000000',
  },
}
SCSS
$custom: #1f405a;
$custom-light: #617488;
$custom-dark: #000000;
JSON
{
  "hex": "#1f405a",
  "rgb": {
    "r": 31,
    "g": 64,
    "b": 90
  },
  "hsl": {
    "h": 206.441,
    "s": 48.76,
    "l": 23.725
  },
  "oklch": {
    "l": 0.35923,
    "c": 0.05966,
    "h": 244.4
  },
  "luminance": 0.04696
}

Semantic roles & 50–950 ramp

primary
#1F405A
secondary
#8F6646
accent
#8C4FD8
background
#F5F7F8
surface
#EAEDF0
border
#C6C8CB
text
#05080B
muted
#797B7C

Preview Lab

Preview with #1F405A

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

Preview Lab → · Contrast checker → · Palette generator →

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