#1F415F#1F415F

#1F415F is a dark, moderate cyan. Relative luminance 0.049; OKLCH L 36.5% C 0.066 H 247.3°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#1F415F
RGBrgb(31, 65, 95)
HSLhsl(208, 51%, 25%)
HSVhsv(208, 67%, 37%)
CMYKcmyk(67.4%, 31.6%, 0%, 62.7%)
CIE-LABlab(26.44, -1.78, -21.45)
CIE-LCHlch(26.44, 21.52, 265.24°)
OKLaboklab(36.47% -0.0253 -0.0605)
OKLCHoklch(36.47% 0.066 247.3)
XYZxyz(4.5202, 4.8977, 11.5314)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F415F #5F3D1F
analogous
#1F5F5D #1F415F #1F215F
triadic
#1F415F #5F1F41 #415F1F
tetradic
#1F415F #5D1F5F #5F3D1F #215F1F
square
#1F415F #5D1F5F #5F3D1F #215F1F
split-complementary
#1F415F #5F1F21 #5F5D1F
monochromatic
#081017 #102131 #1F415F #2E618D #3D80BB

Accessibility & contrast

On white

10.61
#1F415F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#1F415F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F415F
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F415F#FFFFFF#000000##FFFFFF
##1F415F1.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344260
Deuteranopia (green-blind)
#2B3C5E
Tritanopia (blue-blind)
#00484C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1f415f;
/* rgb */ color: rgb(31, 65, 95);
/* oklch */ color: oklch(36.5% 0.066 247.3);
Tailwind
colors: {
  custom: {
    50: '#62758c',
    500: '#1f415f',
    950: '#000000',
  },
}
SCSS
$custom: #1f415f;
$custom-light: #62758c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f415f",
  "rgb": {
    "r": 31,
    "g": 65,
    "b": 95
  },
  "hsl": {
    "h": 208.125,
    "s": 50.794,
    "l": 24.706
  },
  "oklch": {
    "l": 0.36474,
    "c": 0.06556,
    "h": 247.3
  },
  "luminance": 0.04898
}

Semantic roles & 50–950 ramp

primary
#1F415F
secondary
#946A46
accent
#904EDA
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#05080C
muted
#7A7B7D

Preview Lab

Preview with #1F415F

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

Preview Lab → · Contrast checker → · Palette generator →

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