#1F5399#1F5399

#1F5399 is a dark, vivid cyan. Relative luminance 0.088; OKLCH L 44.7% C 0.127 H 257.1°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#1F5399
RGBrgb(31, 83, 153)
HSLhsl(214, 66%, 36%)
HSVhsv(214, 80%, 60%)
CMYKcmyk(79.7%, 45.8%, 0%, 40%)
CIE-LABlab(35.55, 9.07, -43.16)
CIE-LCHlch(35.55, 44.10, 281.87°)
OKLaboklab(44.7% -0.0284 -0.1238)
OKLCHoklch(44.7% 0.127 257.1)
XYZxyz(9.4060, 8.7766, 31.3291)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5399 #99651F
analogous
#1F9099 #1F5399 #281F99
triadic
#1F5399 #991F53 #53991F
tetradic
#1F5399 #991F90 #99651F #1F9928
square
#1F5399 #991F90 #99651F #1F9928
split-complementary
#1F5399 #99281F #90991F
monochromatic
#0A1C33 #153766 #1F5399 #296FCC #568FDD

Accessibility & contrast

On white

7.62
#1F5399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#1F5399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5399
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5399#FFFFFF#000000##FFFFFF
##1F53991.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5A9C
Deuteranopia (green-blind)
#144E98
Tritanopia (blue-blind)
#00646E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #1f5399;
/* rgb */ color: rgb(31, 83, 153);
/* oklch */ color: oklch(44.7% 0.127 257.1);
Tailwind
colors: {
  custom: {
    50: '#6e82b7',
    500: '#1f5399',
    950: '#000000',
  },
}
SCSS
$custom: #1f5399;
$custom-light: #6e82b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5399",
  "rgb": {
    "r": 31,
    "g": 83,
    "b": 153
  },
  "hsl": {
    "h": 214.426,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44698,
    "c": 0.12697,
    "h": 257.1
  },
  "luminance": 0.08778
}

Semantic roles & 50–950 ramp

primary
#1F5399
secondary
#C09254
accent
#A03FE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1F5399

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

Preview Lab → · Contrast checker → · Palette generator →

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