#1F4E76#1F4E76

#1F4E76 is a dark, moderate cyan. Relative luminance 0.070; OKLCH L 41.2% C 0.084 H 247.4°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#1F4E76
RGBrgb(31, 78, 118)
HSLhsl(208, 58%, 29%)
HSVhsv(208, 74%, 46%)
CMYKcmyk(73.7%, 33.9%, 0%, 53.7%)
CIE-LABlab(31.91, -1.45, -27.46)
CIE-LCHlch(31.91, 27.50, 266.98°)
OKLaboklab(41.19% -0.0324 -0.0778)
OKLCHoklch(41.19% 0.084 247.4)
XYZxyz(6.5582, 7.0474, 18.1507)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4E76 #76471F
analogous
#1F7673 #1F4E76 #1F2376
triadic
#1F4E76 #761F4E #4E761F
tetradic
#1F4E76 #731F76 #76471F #23761F
square
#1F4E76 #731F76 #76471F #23761F
split-complementary
#1F4E76 #761F23 #76731F
monochromatic
#061018 #122E46 #1F4E76 #2C6EA6 #428DCD

Accessibility & contrast

On white

8.72
#1F4E76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#1F4E76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4E76
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4E76#FFFFFF#000000##FFFFFF
##1F4E761.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5078
Deuteranopia (green-blind)
#304775
Tritanopia (blue-blind)
#00585C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1f4e76;
/* rgb */ color: rgb(31, 78, 118);
/* oklch */ color: oklch(41.2% 0.084 247.4);
Tailwind
colors: {
  custom: {
    50: '#677f9d',
    500: '#1f4e76',
    950: '#000000',
  },
}
SCSS
$custom: #1f4e76;
$custom-light: #677f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4e76",
  "rgb": {
    "r": 31,
    "g": 78,
    "b": 118
  },
  "hsl": {
    "h": 207.586,
    "s": 58.389,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41185,
    "c": 0.08431,
    "h": 247.4
  },
  "luminance": 0.07048
}

Semantic roles & 50–950 ramp

primary
#1F4E76
secondary
#AA7447
accent
#8E46E2
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #1F4E76

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

Preview Lab → · Contrast checker → · Palette generator →

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