#1F4E75#1F4E75

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

Color values

HEX#1F4E75
RGBrgb(31, 78, 117)
HSLhsl(207, 58%, 29%)
HSVhsv(207, 74%, 46%)
CMYKcmyk(73.5%, 33.3%, 0%, 54.1%)
CIE-LABlab(31.86, -1.84, -26.92)
CIE-LCHlch(31.86, 26.98, 266.10°)
OKLaboklab(41.13% -0.0328 -0.0762)
OKLCHoklch(41.13% 0.083 246.7)
XYZxyz(6.4991, 7.0237, 17.8394)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4E75 #75461F
analogous
#1F7571 #1F4E75 #1F2375
triadic
#1F4E75 #751F4E #4E751F
tetradic
#1F4E75 #711F75 #75461F #23751F
square
#1F4E75 #711F75 #75461F #23751F
split-complementary
#1F4E75 #751F23 #75711F
monochromatic
#061018 #122E45 #1F4E75 #2C6EA5 #428ECD

Accessibility & contrast

On white

8.73
#1F4E75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F4E75
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4E75#FFFFFF#000000##FFFFFF
##1F4E751.008.732.408.73
#FFFFFF8.731.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4F77
Deuteranopia (green-blind)
#304774
Tritanopia (blue-blind)
#00575C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1f4e75;
/* rgb */ color: rgb(31, 78, 117);
/* oklch */ color: oklch(41.1% 0.083 246.7);
Tailwind
colors: {
  custom: {
    50: '#667f9d',
    500: '#1f4e75',
    950: '#000000',
  },
}
SCSS
$custom: #1f4e75;
$custom-light: #667f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4e75",
  "rgb": {
    "r": 31,
    "g": 78,
    "b": 117
  },
  "hsl": {
    "h": 207.209,
    "s": 58.108,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41125,
    "c": 0.08299,
    "h": 246.7
  },
  "luminance": 0.07024
}

Semantic roles & 50–950 ramp

primary
#1F4E75
secondary
#A97347
accent
#8D46E1
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #1F4E75

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

Preview Lab → · Contrast checker → · Palette generator →

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