#1F5599#1F5599

#1F5599 is a mid, vivid cyan. Relative luminance 0.091; OKLCH L 45.2% C 0.125 H 256.0°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#1F5599
RGBrgb(31, 85, 153)
HSLhsl(213, 66%, 36%)
HSVhsv(213, 80%, 60%)
CMYKcmyk(79.7%, 44.4%, 0%, 40%)
CIE-LABlab(36.15, 7.75, -42.19)
CIE-LCHlch(36.15, 42.90, 280.40°)
OKLaboklab(45.16% -0.0301 -0.1209)
OKLCHoklch(45.16% 0.125 256)
XYZxyz(9.5612, 9.0871, 31.3809)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5599 #99631F
analogous
#1F9299 #1F5599 #261F99
triadic
#1F5599 #991F55 #55991F
tetradic
#1F5599 #991F92 #99631F #1F9926
square
#1F5599 #991F92 #99631F #1F9926
split-complementary
#1F5599 #99261F #92991F
monochromatic
#0A1C33 #153966 #1F5599 #2971CC #5691DD

Accessibility & contrast

On white

7.45
#1F5599 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#1F5599 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5599
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5599#FFFFFF#000000##FFFFFF
##1F55991.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325B9C
Deuteranopia (green-blind)
#1A5098
Tritanopia (blue-blind)
#00656F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #1f5599;
/* rgb */ color: rgb(31, 85, 153);
/* oklch */ color: oklch(45.2% 0.125 256.0);
Tailwind
colors: {
  custom: {
    50: '#6e84b7',
    500: '#1f5599',
    950: '#000000',
  },
}
SCSS
$custom: #1f5599;
$custom-light: #6e84b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5599",
  "rgb": {
    "r": 31,
    "g": 85,
    "b": 153
  },
  "hsl": {
    "h": 213.443,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45163,
    "c": 0.12457,
    "h": 256
  },
  "luminance": 0.09088
}

Semantic roles & 50–950 ramp

primary
#1F5599
secondary
#C09054
accent
#9E3FE9
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1F5599

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

Preview Lab → · Contrast checker → · Palette generator →

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