#1F5689#1F5689

#1F5689 is a dark, moderate cyan. Relative luminance 0.088; OKLCH L 44.3% C 0.102 H 249.9°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#1F5689
RGBrgb(31, 86, 137)
HSLhsl(209, 63%, 33%)
HSVhsv(209, 77%, 54%)
CMYKcmyk(77.4%, 37.2%, 0%, 46.3%)
CIE-LABlab(35.50, 0.78, -33.52)
CIE-LCHlch(35.50, 33.53, 271.33°)
OKLaboklab(44.35% -0.035 -0.0954)
OKLCHoklch(44.35% 0.102 249.9)
XYZxyz(8.4065, 8.7521, 24.9083)
Luminance0.0875 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5689 #89521F
analogous
#1F8987 #1F5689 #1F2189
triadic
#1F5689 #891F56 #56891F
tetradic
#1F5689 #871F89 #89521F #21891F
square
#1F5689 #871F89 #89521F #21891F
split-complementary
#1F5689 #891F21 #89871F
monochromatic
#081725 #143757 #1F5689 #2A75BB #4C94D6

Accessibility & contrast

On white

7.63
#1F5689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#1F5689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5689
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5689#FFFFFF#000000##FFFFFF
##1F56891.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E598B
Deuteranopia (green-blind)
#2F4F88
Tritanopia (blue-blind)
#006269
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1f5689;
/* rgb */ color: rgb(31, 86, 137);
/* oklch */ color: oklch(44.3% 0.102 249.9);
Tailwind
colors: {
  custom: {
    50: '#6b85ac',
    500: '#1f5689',
    950: '#000000',
  },
}
SCSS
$custom: #1f5689;
$custom-light: #6b85ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5689",
  "rgb": {
    "r": 31,
    "g": 86,
    "b": 137
  },
  "hsl": {
    "h": 208.868,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44347,
    "c": 0.10161,
    "h": 249.9
  },
  "luminance": 0.08753
}

Semantic roles & 50–950 ramp

primary
#1F5689
secondary
#B9804B
accent
#9142E6
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070B10
muted
#7A7C7F

Preview Lab

Preview with #1F5689

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

Preview Lab → · Contrast checker → · Palette generator →

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