#1F4E79#1F4E79

#1F4E79 is a dark, moderate cyan. Relative luminance 0.071; OKLCH L 41.4% C 0.088 H 249.1°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#1F4E79
RGBrgb(31, 78, 121)
HSLhsl(209, 59%, 30%)
HSVhsv(209, 74%, 47%)
CMYKcmyk(74.4%, 35.5%, 0%, 52.5%)
CIE-LABlab(32.08, -0.28, -29.07)
CIE-LCHlch(32.08, 29.07, 269.44°)
OKLaboklab(41.37% -0.0315 -0.0825)
OKLCHoklch(41.37% 0.088 249.1)
XYZxyz(6.7394, 7.1198, 19.1045)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4E79 #794A1F
analogous
#1F7977 #1F4E79 #1F2179
triadic
#1F4E79 #791F4E #4E791F
tetradic
#1F4E79 #771F79 #794A1F #21791F
square
#1F4E79 #771F79 #794A1F #21791F
split-complementary
#1F4E79 #791F21 #79771F
monochromatic
#061018 #132F48 #1F4E79 #2B6DAA #438CCF

Accessibility & contrast

On white

8.66
#1F4E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#1F4E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4E79
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4E79#FFFFFF#000000##FFFFFF
##1F4E791.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B507B
Deuteranopia (green-blind)
#2E4878
Tritanopia (blue-blind)
#00585E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1f4e79;
/* rgb */ color: rgb(31, 78, 121);
/* oklch */ color: oklch(41.4% 0.088 249.1);
Tailwind
colors: {
  custom: {
    50: '#677fa0',
    500: '#1f4e79',
    950: '#000000',
  },
}
SCSS
$custom: #1f4e79;
$custom-light: #677fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4e79",
  "rgb": {
    "r": 31,
    "g": 78,
    "b": 121
  },
  "hsl": {
    "h": 208.667,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41368,
    "c": 0.08834,
    "h": 249.1
  },
  "luminance": 0.07121
}

Semantic roles & 50–950 ramp

primary
#1F4E79
secondary
#AC7847
accent
#9045E2
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #1F4E79

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

Preview Lab → · Contrast checker → · Palette generator →

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