#1F5484#1F5484

#1F5484 is a dark, moderate cyan. Relative luminance 0.083; OKLCH L 43.5% C 0.097 H 249.2°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#1F5484
RGBrgb(31, 84, 132)
HSLhsl(209, 62%, 32%)
HSVhsv(209, 77%, 52%)
CMYKcmyk(76.5%, 36.4%, 0%, 48.2%)
CIE-LABlab(34.59, 0.12, -31.90)
CIE-LCHlch(34.59, 31.90, 270.21°)
OKLaboklab(43.54% -0.0344 -0.0907)
OKLCHoklch(43.54% 0.097 249.2)
XYZxyz(7.8987, 8.2970, 23.0105)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5484 #844F1F
analogous
#1F8482 #1F5484 #1F2284
triadic
#1F5484 #841F54 #54841F
tetradic
#1F5484 #821F84 #844F1F #22841F
square
#1F5484 #821F84 #844F1F #22841F
split-complementary
#1F5484 #841F22 #84821F
monochromatic
#081521 #133452 #1F5484 #2B74B6 #4992D4

Accessibility & contrast

On white

7.90
#1F5484 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#1F5484 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5484
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5484#FFFFFF#000000##FFFFFF
##1F54841.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5686
Deuteranopia (green-blind)
#2F4D83
Tritanopia (blue-blind)
#005F65
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1f5484;
/* rgb */ color: rgb(31, 84, 132);
/* oklch */ color: oklch(43.5% 0.097 249.2);
Tailwind
colors: {
  custom: {
    50: '#6983a8',
    500: '#1f5484',
    950: '#000000',
  },
}
SCSS
$custom: #1f5484;
$custom-light: #6983a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5484",
  "rgb": {
    "r": 31,
    "g": 84,
    "b": 132
  },
  "hsl": {
    "h": 208.515,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43543,
    "c": 0.09701,
    "h": 249.2
  },
  "luminance": 0.08298
}

Semantic roles & 50–950 ramp

primary
#1F5484
secondary
#B77D48
accent
#9043E5
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1F5484

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

Preview Lab → · Contrast checker → · Palette generator →

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