#1F4876#1F4876

#1F4876 is a dark, moderate cyan. Relative luminance 0.062; OKLCH L 39.7% C 0.091 H 253.3°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#1F4876
RGBrgb(31, 72, 118)
HSLhsl(212, 58%, 29%)
HSVhsv(212, 74%, 46%)
CMYKcmyk(73.7%, 39%, 0%, 53.7%)
CIE-LABlab(29.99, 2.50, -30.50)
CIE-LCHlch(29.99, 30.60, 274.68°)
OKLaboklab(39.68% -0.0261 -0.0868)
OKLCHoklch(39.68% 0.091 253.3)
XYZxyz(6.1512, 6.2334, 18.0150)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4876 #764D1F
analogous
#1F7476 #1F4876 #221F76
triadic
#1F4876 #761F48 #48761F
tetradic
#1F4876 #761F74 #764D1F #1F7622
square
#1F4876 #761F74 #764D1F #1F7622
split-complementary
#1F4876 #76221F #74761F
monochromatic
#060F18 #122A46 #1F4876 #2C66A6 #4284CD

Accessibility & contrast

On white

9.35
#1F4876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#1F4876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4876
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4876#FFFFFF#000000##FFFFFF
##1F48761.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334B78
Deuteranopia (green-blind)
#264375
Tritanopia (blue-blind)
#005359
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1f4876;
/* rgb */ color: rgb(31, 72, 118);
/* oklch */ color: oklch(39.7% 0.091 253.3);
Tailwind
colors: {
  custom: {
    50: '#667a9e',
    500: '#1f4876',
    950: '#000000',
  },
}
SCSS
$custom: #1f4876;
$custom-light: #667a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4876",
  "rgb": {
    "r": 31,
    "g": 72,
    "b": 118
  },
  "hsl": {
    "h": 211.724,
    "s": 58.389,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39679,
    "c": 0.09062,
    "h": 253.3
  },
  "luminance": 0.06234
}

Semantic roles & 50–950 ramp

primary
#1F4876
secondary
#AA7B47
accent
#9846E2
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #1F4876

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

Preview Lab → · Contrast checker → · Palette generator →

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