#1F4E5F#1F4E5F

#1F4E5F is a dark, muted cyan. Relative luminance 0.066; OKLCH L 39.9% C 0.058 H 225.0°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#1F4E5F
RGBrgb(31, 78, 95)
HSLhsl(196, 51%, 25%)
HSVhsv(196, 67%, 37%)
CMYKcmyk(67.4%, 17.9%, 0%, 62.7%)
CIE-LABlab(30.80, -10.04, -14.69)
CIE-LCHlch(30.80, 17.80, 235.65°)
OKLaboklab(39.93% -0.0411 -0.041)
OKLCHoklch(39.93% 0.058 225)
XYZxyz(5.3542, 6.5658, 11.8094)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4E5F #5F301F
analogous
#1F5F50 #1F4E5F #1F2E5F
triadic
#1F4E5F #5F1F4E #4E5F1F
tetradic
#1F4E5F #501F5F #5F301F #2E5F1F
square
#1F4E5F #501F5F #5F301F #2E5F1F
split-complementary
#1F4E5F #5F1F2E #5F501F
monochromatic
#081317 #102831 #1F4E5F #2E748D #3D9ABB

Accessibility & contrast

On white

9.08
#1F4E5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#1F4E5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4E5F
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4E5F#FFFFFF#000000##FFFFFF
##1F4E5F1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454C60
Deuteranopia (green-blind)
#3C465F
Tritanopia (blue-blind)
#005353
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1f4e5f;
/* rgb */ color: rgb(31, 78, 95);
/* oklch */ color: oklch(39.9% 0.058 225.0);
Tailwind
colors: {
  custom: {
    50: '#637f8c',
    500: '#1f4e5f',
    950: '#000000',
  },
}
SCSS
$custom: #1f4e5f;
$custom-light: #637f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4e5f",
  "rgb": {
    "r": 31,
    "g": 78,
    "b": 95
  },
  "hsl": {
    "h": 195.938,
    "s": 50.794,
    "l": 24.706
  },
  "oklch": {
    "l": 0.39931,
    "c": 0.058,
    "h": 225
  },
  "luminance": 0.06566
}

Semantic roles & 50–950 ramp

primary
#1F4E5F
secondary
#945B46
accent
#734EDA
background
#F6F7F8
surface
#EBEEF0
border
#C6C9CB
text
#060A0C
muted
#7A7C7D

Preview Lab

Preview with #1F4E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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