#1F4E69#1F4E69

#1F4E69 is a dark, moderate cyan. Relative luminance 0.068; OKLCH L 40.4% C 0.068 H 237.1°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#1F4E69
RGBrgb(31, 78, 105)
HSLhsl(202, 54%, 27%)
HSVhsv(202, 70%, 41%)
CMYKcmyk(70.5%, 25.7%, 0%, 58.8%)
CIE-LABlab(31.25, -6.39, -20.33)
CIE-LCHlch(31.25, 21.31, 252.54°)
OKLaboklab(40.45% -0.037 -0.0571)
OKLCHoklch(40.45% 0.068 237.1)
XYZxyz(5.8383, 6.7594, 14.3589)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4E69 #693A1F
analogous
#1F695F #1F4E69 #1F2969
triadic
#1F4E69 #691F4E #4E691F
tetradic
#1F4E69 #5F1F69 #693A1F #29691F
square
#1F4E69 #5F1F69 #693A1F #29691F
split-complementary
#1F4E69 #691F29 #695F1F
monochromatic
#071218 #112B3A #1F4E69 #2D7198 #3D94C6

Accessibility & contrast

On white

8.93
#1F4E69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#1F4E69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4E69
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4E69#FFFFFF#000000##FFFFFF
##1F4E691.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414E6A
Deuteranopia (green-blind)
#374669
Tritanopia (blue-blind)
#005557
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1f4e69;
/* rgb */ color: rgb(31, 78, 105);
/* oklch */ color: oklch(40.4% 0.068 237.1);
Tailwind
colors: {
  custom: {
    50: '#647f94',
    500: '#1f4e69',
    950: '#000000',
  },
}
SCSS
$custom: #1f4e69;
$custom-light: #647f94;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4e69",
  "rgb": {
    "r": 31,
    "g": 78,
    "b": 105
  },
  "hsl": {
    "h": 201.892,
    "s": 54.412,
    "l": 26.667
  },
  "oklch": {
    "l": 0.40445,
    "c": 0.06807,
    "h": 237.1
  },
  "luminance": 0.0676
}

Semantic roles & 50–950 ramp

primary
#1F4E69
secondary
#9D6647
accent
#804ADE
background
#F6F7F9
surface
#EBEEF1
border
#C6C9CB
text
#060A0D
muted
#7A7C7E

Preview Lab

Preview with #1F4E69

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

Preview Lab → · Contrast checker → · Palette generator →

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