#1F4B79#1F4B79

#1F4B79 is a dark, moderate cyan. Relative luminance 0.067; OKLCH L 40.6% C 0.092 H 251.9°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#1F4B79
RGBrgb(31, 75, 121)
HSLhsl(211, 59%, 30%)
HSVhsv(211, 74%, 47%)
CMYKcmyk(74.4%, 38%, 0%, 52.5%)
CIE-LABlab(31.12, 1.69, -30.59)
CIE-LCHlch(31.12, 30.63, 273.15°)
OKLaboklab(40.62% -0.0284 -0.087)
OKLCHoklch(40.62% 0.092 251.9)
XYZxyz(6.5311, 6.7032, 19.0351)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4B79 #794D1F
analogous
#1F7879 #1F4B79 #201F79
triadic
#1F4B79 #791F4B #4B791F
tetradic
#1F4B79 #791F78 #794D1F #1F7920
square
#1F4B79 #791F78 #794D1F #1F7920
split-complementary
#1F4B79 #79201F #78791F
monochromatic
#060F18 #132D48 #1F4B79 #2B69AA #4388CF

Accessibility & contrast

On white

8.97
#1F4B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#1F4B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4B79
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4B79#FFFFFF#000000##FFFFFF
##1F4B791.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364E7B
Deuteranopia (green-blind)
#294578
Tritanopia (blue-blind)
#00565C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1f4b79;
/* rgb */ color: rgb(31, 75, 121);
/* oklch */ color: oklch(40.6% 0.092 251.9);
Tailwind
colors: {
  custom: {
    50: '#677ca0',
    500: '#1f4b79',
    950: '#000000',
  },
}
SCSS
$custom: #1f4b79;
$custom-light: #677ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4b79",
  "rgb": {
    "r": 31,
    "g": 75,
    "b": 121
  },
  "hsl": {
    "h": 210.667,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40617,
    "c": 0.09151,
    "h": 251.9
  },
  "luminance": 0.06704
}

Semantic roles & 50–950 ramp

primary
#1F4B79
secondary
#AC7B47
accent
#9645E2
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #1F4B79

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

Preview Lab → · Contrast checker → · Palette generator →

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