#1F5999#1F5999

#1F5999 is a mid, moderate cyan. Relative luminance 0.097; OKLCH L 46.1% C 0.120 H 253.7°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#1F5999
RGBrgb(31, 89, 153)
HSLhsl(211, 66%, 36%)
HSVhsv(211, 80%, 60%)
CMYKcmyk(79.7%, 41.8%, 0%, 40%)
CIE-LABlab(37.36, 5.13, -40.26)
CIE-LCHlch(37.36, 40.58, 277.26°)
OKLaboklab(46.1% -0.0336 -0.1151)
OKLCHoklch(46.1% 0.12 253.7)
XYZxyz(9.8851, 9.7348, 31.4888)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5999 #995F1F
analogous
#1F9699 #1F5999 #221F99
triadic
#1F5999 #991F59 #59991F
tetradic
#1F5999 #991F96 #995F1F #1F9922
square
#1F5999 #991F96 #995F1F #1F9922
split-complementary
#1F5999 #99221F #96991F
monochromatic
#0A1E33 #153B66 #1F5999 #2977CC #5696DD

Accessibility & contrast

On white

7.13
#1F5999 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#1F5999 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5999
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5999#FFFFFF#000000##FFFFFF
##1F59991.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5E9C
Deuteranopia (green-blind)
#255398
Tritanopia (blue-blind)
#006871
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #1f5999;
/* rgb */ color: rgb(31, 89, 153);
/* oklch */ color: oklch(46.1% 0.120 253.7);
Tailwind
colors: {
  custom: {
    50: '#6e87b7',
    500: '#1f5999',
    950: '#000000',
  },
}
SCSS
$custom: #1f5999;
$custom-light: #6e87b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5999",
  "rgb": {
    "r": 31,
    "g": 89,
    "b": 153
  },
  "hsl": {
    "h": 211.475,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46104,
    "c": 0.11992,
    "h": 253.7
  },
  "luminance": 0.09736
}

Semantic roles & 50–950 ramp

primary
#1F5999
secondary
#C08D54
accent
#983FE9
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #1F5999

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

Preview Lab → · Contrast checker → · Palette generator →

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