#1F4D75#1F4D75

#1F4D75 is a dark, moderate cyan. Relative luminance 0.069; OKLCH L 40.9% C 0.084 H 247.8°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#1F4D75
RGBrgb(31, 77, 117)
HSLhsl(208, 58%, 29%)
HSVhsv(208, 74%, 46%)
CMYKcmyk(73.5%, 34.2%, 0%, 54.1%)
CIE-LABlab(31.54, -1.19, -27.43)
CIE-LCHlch(31.54, 27.45, 267.52°)
OKLaboklab(40.87% -0.0317 -0.0777)
OKLCHoklch(40.87% 0.084 247.8)
XYZxyz(6.4286, 6.8827, 17.8159)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4D75 #75471F
analogous
#1F7572 #1F4D75 #1F2275
triadic
#1F4D75 #751F4D #4D751F
tetradic
#1F4D75 #721F75 #75471F #22751F
square
#1F4D75 #721F75 #75471F #22751F
split-complementary
#1F4D75 #751F22 #75721F
monochromatic
#061018 #122D45 #1F4D75 #2C6DA5 #428CCD

Accessibility & contrast

On white

8.84
#1F4D75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#1F4D75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4D75
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4D75#FFFFFF#000000##FFFFFF
##1F4D751.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4F77
Deuteranopia (green-blind)
#2F4774
Tritanopia (blue-blind)
#00575B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1f4d75;
/* rgb */ color: rgb(31, 77, 117);
/* oklch */ color: oklch(40.9% 0.084 247.8);
Tailwind
colors: {
  custom: {
    50: '#667e9d',
    500: '#1f4d75',
    950: '#000000',
  },
}
SCSS
$custom: #1f4d75;
$custom-light: #667e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4d75",
  "rgb": {
    "r": 31,
    "g": 77,
    "b": 117
  },
  "hsl": {
    "h": 207.907,
    "s": 58.108,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40872,
    "c": 0.08395,
    "h": 247.8
  },
  "luminance": 0.06883
}

Semantic roles & 50–950 ramp

primary
#1F4D75
secondary
#A97447
accent
#8E46E1
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #1F4D75

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

Preview Lab → · Contrast checker → · Palette generator →

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