#1F4E70#1F4E70

#1F4E70 is a dark, moderate cyan. Relative luminance 0.069; OKLCH L 40.8% C 0.077 H 243.3°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#1F4E70
RGBrgb(31, 78, 112)
HSLhsl(205, 57%, 28%)
HSVhsv(205, 72%, 44%)
CMYKcmyk(72.3%, 30.4%, 0%, 56.1%)
CIE-LABlab(31.60, -3.76, -24.20)
CIE-LCHlch(31.60, 24.49, 261.18°)
OKLaboklab(40.83% -0.0344 -0.0683)
OKLCHoklch(40.83% 0.077 243.3)
XYZxyz(6.2130, 6.9093, 16.3323)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4E70 #70411F
analogous
#1F7069 #1F4E70 #1F2670
triadic
#1F4E70 #701F4E #4E701F
tetradic
#1F4E70 #691F70 #70411F #26701F
square
#1F4E70 #691F70 #70411F #26701F
split-complementary
#1F4E70 #701F26 #70691F
monochromatic
#071118 #122D40 #1F4E70 #2C6FA0 #3F90CA

Accessibility & contrast

On white

8.82
#1F4E70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F4E70
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4E70#FFFFFF#000000##FFFFFF
##1F4E701.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4F72
Deuteranopia (green-blind)
#33476F
Tritanopia (blue-blind)
#00565A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1f4e70;
/* rgb */ color: rgb(31, 78, 112);
/* oklch */ color: oklch(40.8% 0.077 243.3);
Tailwind
colors: {
  custom: {
    50: '#657f99',
    500: '#1f4e70',
    950: '#000000',
  },
}
SCSS
$custom: #1f4e70;
$custom-light: #657f99;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4e70",
  "rgb": {
    "r": 31,
    "g": 78,
    "b": 112
  },
  "hsl": {
    "h": 205.185,
    "s": 56.643,
    "l": 28.039
  },
  "oklch": {
    "l": 0.40833,
    "c": 0.07652,
    "h": 243.3
  },
  "luminance": 0.0691
}

Semantic roles & 50–950 ramp

primary
#1F4E70
secondary
#A46E47
accent
#8848E0
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #1F4E70

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

Preview Lab → · Contrast checker → · Palette generator →

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