#1F558F#1F558F

#1F558F is a dark, moderate cyan. Relative luminance 0.088; OKLCH L 44.5% C 0.111 H 253.0°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#1F558F
RGBrgb(31, 85, 143)
HSLhsl(211, 64%, 34%)
HSVhsv(211, 78%, 56%)
CMYKcmyk(78.3%, 40.6%, 0%, 43.9%)
CIE-LABlab(35.54, 3.79, -37.12)
CIE-LCHlch(35.54, 37.31, 275.82°)
OKLaboklab(44.49% -0.0324 -0.106)
OKLCHoklch(44.49% 0.111 253)
XYZxyz(8.7696, 8.7705, 27.2119)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F558F #8F591F
analogous
#1F8D8F #1F558F #211F8F
triadic
#1F558F #8F1F55 #558F1F
tetradic
#1F558F #8F1F8D #8F591F #1F8F21
square
#1F558F #8F1F8D #8F591F #1F8F21
split-complementary
#1F558F #8F211F #8D8F1F
monochromatic
#09192A #14375D #1F558F #2A73C1 #4F92D9

Accessibility & contrast

On white

7.62
#1F558F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#1F558F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F558F
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F558F#FFFFFF#000000##FFFFFF
##1F558F1.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395991
Deuteranopia (green-blind)
#274F8E
Tritanopia (blue-blind)
#00636B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #1f558f;
/* rgb */ color: rgb(31, 85, 143);
/* oklch */ color: oklch(44.5% 0.111 253.0);
Tailwind
colors: {
  custom: {
    50: '#6c84b0',
    500: '#1f558f',
    950: '#000000',
  },
}
SCSS
$custom: #1f558f;
$custom-light: #6c84b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1f558f",
  "rgb": {
    "r": 31,
    "g": 85,
    "b": 143
  },
  "hsl": {
    "h": 211.071,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44488,
    "c": 0.11082,
    "h": 253
  },
  "luminance": 0.08771
}

Semantic roles & 50–950 ramp

primary
#1F558F
secondary
#BC874E
accent
#9740E7
background
#F6F8FA
surface
#ECEFF5
border
#C7CACF
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #1F558F

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

Preview Lab → · Contrast checker → · Palette generator →

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