#1F5A99#1F5A99

#1F5A99 is a mid, moderate cyan. Relative luminance 0.099; OKLCH L 46.3% C 0.119 H 253.1°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#1F5A99
RGBrgb(31, 90, 153)
HSLhsl(211, 66%, 36%)
HSVhsv(211, 80%, 60%)
CMYKcmyk(79.7%, 41.2%, 0%, 40%)
CIE-LABlab(37.67, 4.47, -39.77)
CIE-LCHlch(37.67, 40.02, 276.42°)
OKLaboklab(46.34% -0.0345 -0.1137)
OKLCHoklch(46.34% 0.119 253.1)
XYZxyz(9.9688, 9.9024, 31.5168)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5A99 #995E1F
analogous
#1F9799 #1F5A99 #211F99
triadic
#1F5A99 #991F5A #5A991F
tetradic
#1F5A99 #991F97 #995E1F #1F9921
square
#1F5A99 #991F97 #995E1F #1F9921
split-complementary
#1F5A99 #99211F #97991F
monochromatic
#0A1E33 #153C66 #1F5A99 #2978CC #5697DD

Accessibility & contrast

On white

7.05
#1F5A99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#1F5A99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5A99
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5A99#FFFFFF#000000##FFFFFF
##1F5A991.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5F9C
Deuteranopia (green-blind)
#275498
Tritanopia (blue-blind)
#006972
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #1f5a99;
/* rgb */ color: rgb(31, 90, 153);
/* oklch */ color: oklch(46.3% 0.119 253.1);
Tailwind
colors: {
  custom: {
    50: '#6e88b7',
    500: '#1f5a99',
    950: '#000000',
  },
}
SCSS
$custom: #1f5a99;
$custom-light: #6e88b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5a99",
  "rgb": {
    "r": 31,
    "g": 90,
    "b": 153
  },
  "hsl": {
    "h": 210.984,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46341,
    "c": 0.1188,
    "h": 253.1
  },
  "luminance": 0.09904
}

Semantic roles & 50–950 ramp

primary
#1F5A99
secondary
#C08C54
accent
#973FE9
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #1F5A99

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

Preview Lab → · Contrast checker → · Palette generator →

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