#1F4E65#1F4E65

#1F4E65 is a dark, moderate cyan. Relative luminance 0.067; OKLCH L 40.2% C 0.064 H 232.7°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#1F4E65
RGBrgb(31, 78, 101)
HSLhsl(200, 53%, 26%)
HSVhsv(200, 69%, 40%)
CMYKcmyk(69.3%, 22.8%, 0%, 60.4%)
CIE-LABlab(31.06, -7.87, -18.09)
CIE-LCHlch(31.06, 19.73, 246.48°)
OKLaboklab(40.23% -0.0386 -0.0507)
OKLCHoklch(40.23% 0.064 232.7)
XYZxyz(5.6375, 6.6791, 13.3015)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4E65 #65361F
analogous
#1F6559 #1F4E65 #1F2B65
triadic
#1F4E65 #651F4E #4E651F
tetradic
#1F4E65 #591F65 #65361F #2B651F
square
#1F4E65 #591F65 #65361F #2B651F
split-complementary
#1F4E65 #651F2B #65591F
monochromatic
#071217 #112A36 #1F4E65 #2D7294 #3C96C3

Accessibility & contrast

On white

8.99
#1F4E65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#1F4E65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4E65
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4E65#FFFFFF#000000##FFFFFF
##1F4E651.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434D66
Deuteranopia (green-blind)
#394665
Tritanopia (blue-blind)
#005456
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1f4e65;
/* rgb */ color: rgb(31, 78, 101);
/* oklch */ color: oklch(40.2% 0.064 232.7);
Tailwind
colors: {
  custom: {
    50: '#637f91',
    500: '#1f4e65',
    950: '#000000',
  },
}
SCSS
$custom: #1f4e65;
$custom-light: #637f91;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4e65",
  "rgb": {
    "r": 31,
    "g": 78,
    "b": 101
  },
  "hsl": {
    "h": 199.714,
    "s": 53.03,
    "l": 25.882
  },
  "oklch": {
    "l": 0.40233,
    "c": 0.06369,
    "h": 232.7
  },
  "luminance": 0.0668
}

Semantic roles & 50–950 ramp

primary
#1F4E65
secondary
#996246
accent
#7B4BDC
background
#F6F7F8
surface
#EBEEF0
border
#C6C9CB
text
#060A0C
muted
#7A7C7D

Preview Lab

Preview with #1F4E65

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

Preview Lab → · Contrast checker → · Palette generator →

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