#1F5380#1F5380

#1F5380 is a dark, moderate cyan. Relative luminance 0.080; OKLCH L 43.0% C 0.093 H 248.1°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#1F5380
RGBrgb(31, 83, 128)
HSLhsl(208, 61%, 31%)
HSVhsv(208, 76%, 50%)
CMYKcmyk(75.8%, 35.2%, 0%, 49.8%)
CIE-LABlab(34.06, -0.80, -30.29)
CIE-LCHlch(34.06, 30.30, 268.49°)
OKLaboklab(43.05% -0.0346 -0.086)
OKLCHoklch(43.05% 0.093 248.1)
XYZxyz(7.5531, 8.0355, 21.5708)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5380 #804C1F
analogous
#1F807C #1F5380 #1F2280
triadic
#1F5380 #801F53 #53801F
tetradic
#1F5380 #7C1F80 #804C1F #22801F
square
#1F5380 #7C1F80 #804C1F #22801F
split-complementary
#1F5380 #801F22 #807C1F
monochromatic
#07131D #13334F #1F5380 #2B73B1 #4792D2

Accessibility & contrast

On white

8.05
#1F5380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#1F5380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5380
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5380#FFFFFF#000000##FFFFFF
##1F53801.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5582
Deuteranopia (green-blind)
#314C7F
Tritanopia (blue-blind)
#005E63
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1f5380;
/* rgb */ color: rgb(31, 83, 128);
/* oklch */ color: oklch(43.0% 0.093 248.1);
Tailwind
colors: {
  custom: {
    50: '#6983a5',
    500: '#1f5380',
    950: '#000000',
  },
}
SCSS
$custom: #1f5380;
$custom-light: #6983a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5380",
  "rgb": {
    "r": 31,
    "g": 83,
    "b": 128
  },
  "hsl": {
    "h": 207.835,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43048,
    "c": 0.0927,
    "h": 248.1
  },
  "luminance": 0.08036
}

Semantic roles & 50–950 ramp

primary
#1F5380
secondary
#B37A48
accent
#8E44E4
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1F5380

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

Preview Lab → · Contrast checker → · Palette generator →

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