#1F559D#1F559D

#1F559D is a mid, vivid cyan. Relative luminance 0.092; OKLCH L 45.4% C 0.130 H 257.0°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#1F559D
RGBrgb(31, 85, 157)
HSLhsl(214, 67%, 37%)
HSVhsv(214, 80%, 62%)
CMYKcmyk(80.3%, 45.9%, 0%, 38.4%)
CIE-LABlab(36.41, 9.34, -44.19)
CIE-LCHlch(36.41, 45.16, 281.93°)
OKLaboklab(45.44% -0.0293 -0.1268)
OKLCHoklch(45.44% 0.13 257)
XYZxyz(9.8971, 9.2214, 33.1500)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F559D #9D671F
analogous
#1F949D #1F559D #281F9D
triadic
#1F559D #9D1F55 #559D1F
tetradic
#1F559D #9D1F94 #9D671F #1F9D28
square
#1F559D #9D1F94 #9D671F #1F9D28
split-complementary
#1F559D #9D281F #949D1F
monochromatic
#0B1E37 #15396A #1F559D #2971D0 #5892DE

Accessibility & contrast

On white

7.38
#1F559D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#1F559D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F559D
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F559D#FFFFFF#000000##FFFFFF
##1F559D1.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5CA0
Deuteranopia (green-blind)
#13509C
Tritanopia (blue-blind)
#006671
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #1f559d;
/* rgb */ color: rgb(31, 85, 157);
/* oklch */ color: oklch(45.4% 0.130 257.0);
Tailwind
colors: {
  custom: {
    50: '#6f84ba',
    500: '#1f559d',
    950: '#000000',
  },
}
SCSS
$custom: #1f559d;
$custom-light: #6f84ba;
$custom-dark: #000000;
JSON
{
  "hex": "#1f559d",
  "rgb": {
    "r": 31,
    "g": 85,
    "b": 157
  },
  "hsl": {
    "h": 214.286,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45444,
    "c": 0.1301,
    "h": 257
  },
  "luminance": 0.09223
}

Semantic roles & 50–950 ramp

primary
#1F559D
secondary
#C29456
accent
#A03EEA
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1F559D

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

Preview Lab → · Contrast checker → · Palette generator →

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