#1F5A91#1F5A91

#1F5A91 is a mid, moderate cyan. Relative luminance 0.096; OKLCH L 45.8% C 0.108 H 250.2°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#1F5A91
RGBrgb(31, 90, 145)
HSLhsl(209, 65%, 35%)
HSVhsv(209, 79%, 57%)
CMYKcmyk(78.6%, 37.9%, 0%, 43.1%)
CIE-LABlab(37.20, 1.33, -35.69)
CIE-LCHlch(37.20, 35.71, 272.14°)
OKLaboklab(45.83% -0.0366 -0.1017)
OKLCHoklch(45.83% 0.108 250.2)
XYZxyz(9.3301, 9.6469, 28.1529)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5A91 #91561F
analogous
#1F918F #1F5A91 #1F2191
triadic
#1F5A91 #911F5A #5A911F
tetradic
#1F5A91 #8F1F91 #91561F #21911F
square
#1F5A91 #8F1F91 #91561F #21911F
split-complementary
#1F5A91 #911F21 #918F1F
monochromatic
#091B2C #143B5F #1F5A91 #2A79C3 #5198DA

Accessibility & contrast

On white

7.17
#1F5A91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#1F5A91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5A91
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5A91#FFFFFF#000000##FFFFFF
##1F5A911.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405D93
Deuteranopia (green-blind)
#2F5390
Tritanopia (blue-blind)
#00676E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #1f5a91;
/* rgb */ color: rgb(31, 90, 145);
/* oklch */ color: oklch(45.8% 0.108 250.2);
Tailwind
colors: {
  custom: {
    50: '#6c88b1',
    500: '#1f5a91',
    950: '#000000',
  },
}
SCSS
$custom: #1f5a91;
$custom-light: #6c88b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5a91",
  "rgb": {
    "r": 31,
    "g": 90,
    "b": 145
  },
  "hsl": {
    "h": 208.947,
    "s": 64.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45826,
    "c": 0.10807,
    "h": 250.2
  },
  "luminance": 0.09648
}

Semantic roles & 50–950 ramp

primary
#1F5A91
secondary
#BD844F
accent
#9140E8
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #1F5A91

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

Preview Lab → · Contrast checker → · Palette generator →

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