#1F4D79#1F4D79

#1F4D79 is a dark, moderate cyan. Relative luminance 0.070; OKLCH L 41.1% C 0.089 H 250.1°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#1F4D79
RGBrgb(31, 77, 121)
HSLhsl(209, 59%, 30%)
HSVhsv(209, 74%, 47%)
CMYKcmyk(74.4%, 36.4%, 0%, 52.5%)
CIE-LABlab(31.76, 0.37, -29.58)
CIE-LCHlch(31.76, 29.58, 270.71°)
OKLaboklab(41.12% -0.0305 -0.084)
OKLCHoklch(41.12% 0.089 250.1)
XYZxyz(6.6688, 6.9788, 19.0810)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4D79 #794B1F
analogous
#1F7978 #1F4D79 #1F2079
triadic
#1F4D79 #791F4D #4D791F
tetradic
#1F4D79 #781F79 #794B1F #20791F
square
#1F4D79 #781F79 #794B1F #20791F
split-complementary
#1F4D79 #791F20 #79781F
monochromatic
#061018 #132E48 #1F4D79 #2B6CAA #438BCF

Accessibility & contrast

On white

8.76
#1F4D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#1F4D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4D79
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4D79#FFFFFF#000000##FFFFFF
##1F4D791.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394F7B
Deuteranopia (green-blind)
#2C4778
Tritanopia (blue-blind)
#00575D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1f4d79;
/* rgb */ color: rgb(31, 77, 121);
/* oklch */ color: oklch(41.1% 0.089 250.1);
Tailwind
colors: {
  custom: {
    50: '#677ea0',
    500: '#1f4d79',
    950: '#000000',
  },
}
SCSS
$custom: #1f4d79;
$custom-light: #677ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4d79",
  "rgb": {
    "r": 31,
    "g": 77,
    "b": 121
  },
  "hsl": {
    "h": 209.333,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41117,
    "c": 0.08937,
    "h": 250.1
  },
  "luminance": 0.0698
}

Semantic roles & 50–950 ramp

primary
#1F4D79
secondary
#AC7947
accent
#9245E2
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #1F4D79

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

Preview Lab → · Contrast checker → · Palette generator →

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