#1F4E5D#1F4E5D

#1F4E5D is a dark, muted cyan. Relative luminance 0.065; OKLCH L 39.8% C 0.056 H 222.0°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#1F4E5D
RGBrgb(31, 78, 93)
HSLhsl(195, 50%, 24%)
HSVhsv(195, 67%, 36%)
CMYKcmyk(66.7%, 16.1%, 0%, 63.5%)
CIE-LABlab(30.71, -10.75, -13.55)
CIE-LCHlch(30.71, 17.30, 231.58°)
OKLaboklab(39.84% -0.0419 -0.0377)
OKLCHoklch(39.84% 0.056 222)
XYZxyz(5.2645, 6.5299, 11.3368)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4E5D #5D2E1F
analogous
#1F5D4D #1F4E5D #1F2F5D
triadic
#1F4E5D #5D1F4E #4E5D1F
tetradic
#1F4E5D #4D1F5D #5D2E1F #2F5D1F
square
#1F4E5D #4D1F5D #5D2E1F #2F5D1F
split-complementary
#1F4E5D #5D1F2F #5D4D1F
monochromatic
#081317 #10282F #1F4E5D #2E748B #3E9BB9

Accessibility & contrast

On white

9.11
#1F4E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F4E5D
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4E5D#FFFFFF#000000##FFFFFF
##1F4E5D1.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f4e5d;
/* rgb */ color: rgb(31, 78, 93);
/* oklch */ color: oklch(39.8% 0.056 222.0);
Tailwind
colors: {
  custom: {
    50: '#627f8b',
    500: '#1f4e5d',
    950: '#000000',
  },
}
SCSS
$custom: #1f4e5d;
$custom-light: #627f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4e5d",
  "rgb": {
    "r": 31,
    "g": 78,
    "b": 93
  },
  "hsl": {
    "h": 194.516,
    "s": 50,
    "l": 24.314
  },
  "oklch": {
    "l": 0.39835,
    "c": 0.05641,
    "h": 222
  },
  "luminance": 0.0653
}

Semantic roles & 50–950 ramp

primary
#1F4E5D
secondary
#925846
accent
#704EDA
background
#F6F7F8
surface
#EBEEF0
border
#C6C9CB
text
#050A0C
muted
#7A7C7D

Preview Lab

Preview with #1F4E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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