#1F4F73#1F4F73

#1F4F73 is a dark, moderate cyan. Relative luminance 0.071; OKLCH L 41.3% C 0.079 H 244.3°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#1F4F73
RGBrgb(31, 79, 115)
HSLhsl(206, 58%, 29%)
HSVhsv(206, 73%, 45%)
CMYKcmyk(73%, 31.3%, 0%, 54.9%)
CIE-LABlab(32.08, -3.25, -25.33)
CIE-LCHlch(32.08, 25.53, 262.69°)
OKLaboklab(41.26% -0.0345 -0.0716)
OKLCHoklch(41.26% 0.079 244.3)
XYZxyz(6.4544, 7.1204, 17.2505)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4F73 #73431F
analogous
#1F736D #1F4F73 #1F2573
triadic
#1F4F73 #731F4F #4F731F
tetradic
#1F4F73 #6D1F73 #73431F #25731F
square
#1F4F73 #6D1F73 #73431F #25731F
split-complementary
#1F4F73 #731F25 #736D1F
monochromatic
#061118 #122E43 #1F4F73 #2C70A3 #4190CC

Accessibility & contrast

On white

8.66
#1F4F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#1F4F73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4F73
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4F73#FFFFFF#000000##FFFFFF
##1F4F731.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5075
Deuteranopia (green-blind)
#334872
Tritanopia (blue-blind)
#00585C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1f4f73;
/* rgb */ color: rgb(31, 79, 115);
/* oklch */ color: oklch(41.3% 0.079 244.3);
Tailwind
colors: {
  custom: {
    50: '#66809b',
    500: '#1f4f73',
    950: '#000000',
  },
}
SCSS
$custom: #1f4f73;
$custom-light: #66809b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4f73",
  "rgb": {
    "r": 31,
    "g": 79,
    "b": 115
  },
  "hsl": {
    "h": 205.714,
    "s": 57.534,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41263,
    "c": 0.07949,
    "h": 244.3
  },
  "luminance": 0.07121
}

Semantic roles & 50–950 ramp

primary
#1F4F73
secondary
#A77047
accent
#8947E1
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #1F4F73

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

Preview Lab → · Contrast checker → · Palette generator →

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