#1F558E#1F558E

#1F558E is a dark, moderate cyan. Relative luminance 0.087; OKLCH L 44.4% C 0.109 H 252.6°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#1F558E
RGBrgb(31, 85, 142)
HSLhsl(211, 64%, 34%)
HSVhsv(211, 78%, 56%)
CMYKcmyk(78.2%, 40.1%, 0%, 44.3%)
CIE-LABlab(35.48, 3.39, -36.61)
CIE-LCHlch(35.48, 36.76, 275.29°)
OKLaboklab(44.42% -0.0327 -0.1045)
OKLCHoklch(44.42% 0.109 252.6)
XYZxyz(8.6942, 8.7403, 26.8148)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F558E #8E581F
analogous
#1F8D8E #1F558E #211F8E
triadic
#1F558E #8E1F55 #558E1F
tetradic
#1F558E #8E1F8D #8E581F #1F8E21
square
#1F558E #8E1F8D #8E581F #1F8E21
split-complementary
#1F558E #8E211F #8D8E1F
monochromatic
#09192A #14375C #1F558E #2A73C0 #4F92D9

Accessibility & contrast

On white

7.64
#1F558E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F558E
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F558E#FFFFFF#000000##FFFFFF
##1F558E1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5990
Deuteranopia (green-blind)
#284F8D
Tritanopia (blue-blind)
#00626A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1f558e;
/* rgb */ color: rgb(31, 85, 142);
/* oklch */ color: oklch(44.4% 0.109 252.6);
Tailwind
colors: {
  custom: {
    50: '#6c84af',
    500: '#1f558e',
    950: '#000000',
  },
}
SCSS
$custom: #1f558e;
$custom-light: #6c84af;
$custom-dark: #000000;
JSON
{
  "hex": "#1f558e",
  "rgb": {
    "r": 31,
    "g": 85,
    "b": 142
  },
  "hsl": {
    "h": 210.811,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44423,
    "c": 0.10946,
    "h": 252.6
  },
  "luminance": 0.08741
}

Semantic roles & 50–950 ramp

primary
#1F558E
secondary
#BB864D
accent
#9641E7
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #1F558E

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

Preview Lab → · Contrast checker → · Palette generator →

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