#1F5489#1F5489

#1F5489 is a dark, moderate cyan. Relative luminance 0.084; OKLCH L 43.9% C 0.104 H 251.4°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#1F5489
RGBrgb(31, 84, 137)
HSLhsl(210, 63%, 33%)
HSVhsv(210, 77%, 54%)
CMYKcmyk(77.4%, 38.7%, 0%, 46.3%)
CIE-LABlab(34.88, 2.08, -34.51)
CIE-LCHlch(34.88, 34.58, 273.44°)
OKLaboklab(43.86% -0.033 -0.0984)
OKLCHoklch(43.86% 0.104 251.4)
XYZxyz(8.2491, 8.4371, 24.8558)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5489 #89541F
analogous
#1F8989 #1F5489 #1F1F89
triadic
#1F5489 #891F54 #54891F
tetradic
#1F5489 #891F89 #89541F #1F891F
square
#1F5489 #891F89 #89541F #1F891F
split-complementary
#1F5489 #891F1F #89891F
monochromatic
#081725 #143557 #1F5489 #2A73BB #4C91D6

Accessibility & contrast

On white

7.81
#1F5489 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#1F5489 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5489
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5489#FFFFFF#000000##FFFFFF
##1F54891.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B578B
Deuteranopia (green-blind)
#2B4E88
Tritanopia (blue-blind)
#006168
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1f5489;
/* rgb */ color: rgb(31, 84, 137);
/* oklch */ color: oklch(43.9% 0.104 251.4);
Tailwind
colors: {
  custom: {
    50: '#6b83ac',
    500: '#1f5489',
    950: '#000000',
  },
}
SCSS
$custom: #1f5489;
$custom-light: #6b83ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5489",
  "rgb": {
    "r": 31,
    "g": 84,
    "b": 137
  },
  "hsl": {
    "h": 210,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43857,
    "c": 0.10374,
    "h": 251.4
  },
  "luminance": 0.08438
}

Semantic roles & 50–950 ramp

primary
#1F5489
secondary
#B9824B
accent
#9442E6
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1F5489

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

Preview Lab → · Contrast checker → · Palette generator →

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