#1F4E5B#1F4E5B

#1F4E5B is a dark, muted cyan. Relative luminance 0.065; OKLCH L 39.7% C 0.055 H 218.9°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#1F4E5B
RGBrgb(31, 78, 91)
HSLhsl(193, 49%, 24%)
HSVhsv(193, 66%, 36%)
CMYKcmyk(65.9%, 14.3%, 0%, 64.3%)
CIE-LABlab(30.63, -11.45, -12.40)
CIE-LCHlch(30.63, 16.88, 227.29°)
OKLaboklab(39.74% -0.0428 -0.0345)
OKLCHoklch(39.74% 0.055 218.9)
XYZxyz(5.1770, 6.4949, 10.8763)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4E5B #5B2C1F
analogous
#1F5B4A #1F4E5B #1F305B
triadic
#1F4E5B #5B1F4E #4E5B1F
tetradic
#1F4E5B #4A1F5B #5B2C1F #305B1F
square
#1F4E5B #4A1F5B #5B2C1F #305B1F
split-complementary
#1F4E5B #5B1F30 #5B4A1F
monochromatic
#081417 #0F272D #1F4E5B #2F7589 #3E9CB6

Accessibility & contrast

On white

9.13
#1F4E5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#1F4E5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4E5B
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4E5B#FFFFFF#000000##FFFFFF
##1F4E5B1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464C5C
Deuteranopia (green-blind)
#3D455B
Tritanopia (blue-blind)
#005252
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1f4e5b;
/* rgb */ color: rgb(31, 78, 91);
/* oklch */ color: oklch(39.7% 0.055 218.9);
Tailwind
colors: {
  custom: {
    50: '#627f89',
    500: '#1f4e5b',
    950: '#000000',
  },
}
SCSS
$custom: #1f4e5b;
$custom-light: #627f89;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4e5b",
  "rgb": {
    "r": 31,
    "g": 78,
    "b": 91
  },
  "hsl": {
    "h": 193,
    "s": 49.18,
    "l": 23.922
  },
  "oklch": {
    "l": 0.3974,
    "c": 0.05498,
    "h": 218.9
  },
  "luminance": 0.06495
}

Semantic roles & 50–950 ramp

primary
#1F4E5B
secondary
#905646
accent
#6D4FD9
background
#F6F7F8
surface
#EBEEF0
border
#C6C9CB
text
#050A0B
muted
#7A7C7C

Preview Lab

Preview with #1F4E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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