#1F4D73#1F4D73

#1F4D73 is a dark, moderate cyan. Relative luminance 0.068; OKLCH L 40.8% C 0.081 H 246.6°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#1F4D73
RGBrgb(31, 77, 115)
HSLhsl(207, 58%, 29%)
HSVhsv(207, 73%, 45%)
CMYKcmyk(73%, 33%, 0%, 54.9%)
CIE-LABlab(31.43, -1.96, -26.34)
CIE-LCHlch(31.43, 26.42, 265.74°)
OKLaboklab(40.75% -0.0323 -0.0746)
OKLCHoklch(40.75% 0.081 246.6)
XYZxyz(6.3123, 6.8362, 17.2032)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4D73 #73451F
analogous
#1F736F #1F4D73 #1F2373
triadic
#1F4D73 #731F4D #4D731F
tetradic
#1F4D73 #6F1F73 #73451F #23731F
square
#1F4D73 #6F1F73 #73451F #23731F
split-complementary
#1F4D73 #731F23 #736F1F
monochromatic
#061018 #122D43 #1F4D73 #2C6DA3 #418DCC

Accessibility & contrast

On white

8.87
#1F4D73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#1F4D73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4D73
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4D73#FFFFFF#000000##FFFFFF
##1F4D731.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4E75
Deuteranopia (green-blind)
#304672
Tritanopia (blue-blind)
#00565B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1f4d73;
/* rgb */ color: rgb(31, 77, 115);
/* oklch */ color: oklch(40.8% 0.081 246.6);
Tailwind
colors: {
  custom: {
    50: '#667e9b',
    500: '#1f4d73',
    950: '#000000',
  },
}
SCSS
$custom: #1f4d73;
$custom-light: #667e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4d73",
  "rgb": {
    "r": 31,
    "g": 77,
    "b": 115
  },
  "hsl": {
    "h": 207.143,
    "s": 57.534,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40752,
    "c": 0.08129,
    "h": 246.6
  },
  "luminance": 0.06837
}

Semantic roles & 50–950 ramp

primary
#1F4D73
secondary
#A77247
accent
#8D47E1
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #1F4D73

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

Preview Lab → · Contrast checker → · Palette generator →

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