#1F5691#1F5691

#1F5691 is a dark, moderate cyan. Relative luminance 0.090; OKLCH L 44.9% C 0.112 H 253.0°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#1F5691
RGBrgb(31, 86, 145)
HSLhsl(211, 65%, 35%)
HSVhsv(211, 79%, 57%)
CMYKcmyk(78.6%, 40.7%, 0%, 43.1%)
CIE-LABlab(35.97, 3.92, -37.65)
CIE-LCHlch(35.97, 37.86, 275.95°)
OKLaboklab(44.86% -0.0328 -0.1075)
OKLCHoklch(44.86% 0.112 253)
XYZxyz(9.0018, 8.9902, 28.0434)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5691 #915A1F
analogous
#1F8F91 #1F5691 #211F91
triadic
#1F5691 #911F56 #56911F
tetradic
#1F5691 #911F8F #915A1F #1F9121
square
#1F5691 #911F8F #915A1F #1F9121
split-complementary
#1F5691 #91211F #8F911F
monochromatic
#091A2C #14385F #1F5691 #2A74C3 #5193DA

Accessibility & contrast

On white

7.50
#1F5691 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#1F5691 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5691
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5691#FFFFFF#000000##FFFFFF
##1F56911.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5A93
Deuteranopia (green-blind)
#275090
Tritanopia (blue-blind)
#00646C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #1f5691;
/* rgb */ color: rgb(31, 86, 145);
/* oklch */ color: oklch(44.9% 0.112 253.0);
Tailwind
colors: {
  custom: {
    50: '#6c85b1',
    500: '#1f5691',
    950: '#000000',
  },
}
SCSS
$custom: #1f5691;
$custom-light: #6c85b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5691",
  "rgb": {
    "r": 31,
    "g": 86,
    "b": 145
  },
  "hsl": {
    "h": 211.053,
    "s": 64.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.4486,
    "c": 0.11243,
    "h": 253
  },
  "luminance": 0.08991
}

Semantic roles & 50–950 ramp

primary
#1F5691
secondary
#BD884F
accent
#9740E8
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #1F5691

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

Preview Lab → · Contrast checker → · Palette generator →

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