#1F4873#1F4873

#1F4873 is a dark, moderate cyan. Relative luminance 0.062; OKLCH L 39.5% C 0.086 H 251.8°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#1F4873
RGBrgb(31, 72, 115)
HSLhsl(211, 58%, 29%)
HSVhsv(211, 73%, 45%)
CMYKcmyk(73%, 37.4%, 0%, 54.9%)
CIE-LABlab(29.82, 1.32, -28.89)
CIE-LCHlch(29.82, 28.92, 272.61°)
OKLaboklab(39.49% -0.0269 -0.0821)
OKLCHoklch(39.49% 0.086 251.8)
XYZxyz(5.9758, 6.1632, 17.0910)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4873 #734A1F
analogous
#1F7273 #1F4873 #201F73
triadic
#1F4873 #731F48 #48731F
tetradic
#1F4873 #731F72 #734A1F #1F7320
square
#1F4873 #731F72 #734A1F #1F7320
split-complementary
#1F4873 #73201F #72731F
monochromatic
#060F18 #122A43 #1F4873 #2C66A3 #4185CC

Accessibility & contrast

On white

9.41
#1F4873 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#1F4873 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4873
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4873#FFFFFF#000000##FFFFFF
##1F48731.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354B75
Deuteranopia (green-blind)
#294372
Tritanopia (blue-blind)
#005258
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1f4873;
/* rgb */ color: rgb(31, 72, 115);
/* oklch */ color: oklch(39.5% 0.086 251.8);
Tailwind
colors: {
  custom: {
    50: '#667a9b',
    500: '#1f4873',
    950: '#000000',
  },
}
SCSS
$custom: #1f4873;
$custom-light: #667a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4873",
  "rgb": {
    "r": 31,
    "g": 72,
    "b": 115
  },
  "hsl": {
    "h": 210.714,
    "s": 57.534,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39487,
    "c": 0.08637,
    "h": 251.8
  },
  "luminance": 0.06164
}

Semantic roles & 50–950 ramp

primary
#1F4873
secondary
#A77847
accent
#9647E1
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #1F4873

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

Preview Lab → · Contrast checker → · Palette generator →

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