#1F405C#1F405C

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

Color values

HEX#1F405C
RGBrgb(31, 64, 92)
HSLhsl(208, 50%, 24%)
HSVhsv(208, 66%, 36%)
CMYKcmyk(66.3%, 30.4%, 0%, 63.9%)
CIE-LABlab(25.95, -2.26, -20.27)
CIE-LCHlch(25.95, 20.40, 263.63°)
OKLaboklab(36.04% -0.0251 -0.0571)
OKLCHoklch(36.04% 0.062 246.3)
XYZxyz(4.3295, 4.7304, 10.8080)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F405C #5C3B1F
analogous
#1F5C5A #1F405C #1F225C
triadic
#1F405C #5C1F40 #405C1F
tetradic
#1F405C #5A1F5C #5C3B1F #225C1F
square
#1F405C #5A1F5C #5C3B1F #225C1F
split-complementary
#1F405C #5C1F22 #5C5A1F
monochromatic
#081017 #10202E #1F405C #2E608A #3E80B8

Accessibility & contrast

On white

10.79
#1F405C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F405C
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F405C#FFFFFF#000000##FFFFFF
##1F405C1.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34415D
Deuteranopia (green-blind)
#2C3B5B
Tritanopia (blue-blind)
#00474A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1f405c;
/* rgb */ color: rgb(31, 64, 92);
/* oklch */ color: oklch(36.0% 0.062 246.3);
Tailwind
colors: {
  custom: {
    50: '#61748a',
    500: '#1f405c',
    950: '#000000',
  },
}
SCSS
$custom: #1f405c;
$custom-light: #61748a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f405c",
  "rgb": {
    "r": 31,
    "g": 64,
    "b": 92
  },
  "hsl": {
    "h": 207.541,
    "s": 49.593,
    "l": 24.118
  },
  "oklch": {
    "l": 0.36037,
    "c": 0.06235,
    "h": 246.3
  },
  "luminance": 0.04731
}

Semantic roles & 50–950 ramp

primary
#1F405C
secondary
#916846
accent
#8E4FD9
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#05080B
muted
#7A7B7C

Preview Lab

Preview with #1F405C

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

Preview Lab → · Contrast checker → · Palette generator →

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