#1F415B#1F415B

#1F415B is a dark, moderate cyan. Relative luminance 0.048; OKLCH L 36.2% C 0.060 H 243.7°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#1F415B
RGBrgb(31, 65, 91)
HSLhsl(206, 49%, 24%)
HSVhsv(206, 66%, 36%)
CMYKcmyk(65.9%, 28.6%, 0%, 64.3%)
CIE-LABlab(26.24, -3.30, -19.18)
CIE-LCHlch(26.24, 19.46, 260.25°)
OKLaboklab(36.24% -0.0267 -0.0539)
OKLCHoklch(36.24% 0.06 243.7)
XYZxyz(4.3430, 4.8268, 10.5983)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F415B #5B391F
analogous
#1F5B57 #1F415B #1F235B
triadic
#1F415B #5B1F41 #415B1F
tetradic
#1F415B #571F5B #5B391F #235B1F
square
#1F415B #571F5B #5B391F #235B1F
split-complementary
#1F415B #5B1F23 #5B571F
monochromatic
#081017 #0F202D #1F415B #2F6289 #3E82B6

Accessibility & contrast

On white

10.68
#1F415B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#1F415B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F415B
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F415B#FFFFFF#000000##FFFFFF
##1F415B1.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36415C
Deuteranopia (green-blind)
#2D3B5B
Tritanopia (blue-blind)
#00474A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1f415b;
/* rgb */ color: rgb(31, 65, 91);
/* oklch */ color: oklch(36.2% 0.060 243.7);
Tailwind
colors: {
  custom: {
    50: '#617589',
    500: '#1f415b',
    950: '#000000',
  },
}
SCSS
$custom: #1f415b;
$custom-light: #617589;
$custom-dark: #000000;
JSON
{
  "hex": "#1f415b",
  "rgb": {
    "r": 31,
    "g": 65,
    "b": 91
  },
  "hsl": {
    "h": 206,
    "s": 49.18,
    "l": 23.922
  },
  "oklch": {
    "l": 0.36244,
    "c": 0.06017,
    "h": 243.7
  },
  "luminance": 0.04827
}

Semantic roles & 50–950 ramp

primary
#1F415B
secondary
#906646
accent
#8B4FD9
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#05080B
muted
#7A7B7C

Preview Lab

Preview with #1F415B

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

Preview Lab → · Contrast checker → · Palette generator →

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