#1F4E5A#1F4E5A

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

Color values

HEX#1F4E5A
RGBrgb(31, 78, 90)
HSLhsl(192, 49%, 24%)
HSVhsv(192, 66%, 35%)
CMYKcmyk(65.6%, 13.3%, 0%, 64.7%)
CIE-LABlab(30.59, -11.80, -11.83)
CIE-LCHlch(30.59, 16.71, 225.07°)
OKLaboklab(39.69% -0.0433 -0.0329)
OKLCHoklch(39.69% 0.054 217.2)
XYZxyz(5.1342, 6.4778, 10.6506)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4E5A #5A2B1F
analogous
#1F5A48 #1F4E5A #1F305A
triadic
#1F4E5A #5A1F4E #4E5A1F
tetradic
#1F4E5A #481F5A #5A2B1F #305A1F
square
#1F4E5A #481F5A #5A2B1F #305A1F
split-complementary
#1F4E5A #5A1F30 #5A481F
monochromatic
#081417 #0F272C #1F4E5A #2F7588 #3E9DB5

Accessibility & contrast

On white

9.15
#1F4E5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F4E5A
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4E5A#FFFFFF#000000##FFFFFF
##1F4E5A1.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f4e5a;
/* rgb */ color: rgb(31, 78, 90);
/* oklch */ color: oklch(39.7% 0.054 217.2);
Tailwind
colors: {
  custom: {
    50: '#627f88',
    500: '#1f4e5a',
    950: '#000000',
  },
}
SCSS
$custom: #1f4e5a;
$custom-light: #627f88;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4e5a",
  "rgb": {
    "r": 31,
    "g": 78,
    "b": 90
  },
  "hsl": {
    "h": 192.203,
    "s": 48.76,
    "l": 23.725
  },
  "oklch": {
    "l": 0.39693,
    "c": 0.05433,
    "h": 217.2
  },
  "luminance": 0.06478
}

Semantic roles & 50–950 ramp

primary
#1F4E5A
secondary
#8F5546
accent
#6B4FD8
background
#F6F7F8
surface
#EBEEEF
border
#C6C9CA
text
#050A0B
muted
#7A7C7C

Preview Lab

Preview with #1F4E5A

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

Preview Lab → · Contrast checker → · Palette generator →

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