#1F4E73#1F4E73

#1F4E73 is a dark, moderate cyan. Relative luminance 0.070; OKLCH L 41.0% C 0.080 H 245.4°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#1F4E73
RGBrgb(31, 78, 115)
HSLhsl(206, 58%, 29%)
HSVhsv(206, 73%, 45%)
CMYKcmyk(73%, 32.2%, 0%, 54.9%)
CIE-LABlab(31.75, -2.61, -25.83)
CIE-LCHlch(31.75, 25.97, 264.24°)
OKLaboklab(41.01% -0.0334 -0.0731)
OKLCHoklch(41.01% 0.08 245.4)
XYZxyz(6.3828, 6.9772, 17.2267)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4E73 #73441F
analogous
#1F736E #1F4E73 #1F2473
triadic
#1F4E73 #731F4E #4E731F
tetradic
#1F4E73 #6E1F73 #73441F #24731F
square
#1F4E73 #6E1F73 #73441F #24731F
split-complementary
#1F4E73 #731F24 #736E1F
monochromatic
#061018 #122D43 #1F4E73 #2C6FA3 #418ECC

Accessibility & contrast

On white

8.77
#1F4E73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F4E73
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4E73#FFFFFF#000000##FFFFFF
##1F4E731.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4F75
Deuteranopia (green-blind)
#324772
Tritanopia (blue-blind)
#00575B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1f4e73;
/* rgb */ color: rgb(31, 78, 115);
/* oklch */ color: oklch(41.0% 0.080 245.4);
Tailwind
colors: {
  custom: {
    50: '#667f9b',
    500: '#1f4e73',
    950: '#000000',
  },
}
SCSS
$custom: #1f4e73;
$custom-light: #667f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4e73",
  "rgb": {
    "r": 31,
    "g": 78,
    "b": 115
  },
  "hsl": {
    "h": 206.429,
    "s": 57.534,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41007,
    "c": 0.08037,
    "h": 245.4
  },
  "luminance": 0.06978
}

Semantic roles & 50–950 ramp

primary
#1F4E73
secondary
#A77147
accent
#8B47E1
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #1F4E73

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

Preview Lab → · Contrast checker → · Palette generator →

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