#1F5482#1F5482

#1F5482 is a dark, moderate cyan. Relative luminance 0.082; OKLCH L 43.4% C 0.094 H 248.2°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#1F5482
RGBrgb(31, 84, 130)
HSLhsl(208, 61%, 32%)
HSVhsv(208, 76%, 51%)
CMYKcmyk(76.2%, 35.4%, 0%, 49%)
CIE-LABlab(34.48, -0.66, -30.84)
CIE-LCHlch(34.48, 30.85, 268.77°)
OKLaboklab(43.42% -0.035 -0.0876)
OKLCHoklch(43.42% 0.094 248.2)
XYZxyz(7.7631, 8.2428, 22.2966)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5482 #824D1F
analogous
#1F827F #1F5482 #1F2282
triadic
#1F5482 #821F54 #54821F
tetradic
#1F5482 #7F1F82 #824D1F #22821F
square
#1F5482 #7F1F82 #824D1F #22821F
split-complementary
#1F5482 #821F22 #827F1F
monochromatic
#07141F #133451 #1F5482 #2B74B3 #4893D3

Accessibility & contrast

On white

7.93
#1F5482 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#1F5482 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5482
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5482#FFFFFF#000000##FFFFFF
##1F54821.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5684
Deuteranopia (green-blind)
#314D81
Tritanopia (blue-blind)
#005F65
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1f5482;
/* rgb */ color: rgb(31, 84, 130);
/* oklch */ color: oklch(43.4% 0.094 248.2);
Tailwind
colors: {
  custom: {
    50: '#6983a6',
    500: '#1f5482',
    950: '#000000',
  },
}
SCSS
$custom: #1f5482;
$custom-light: #6983a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5482",
  "rgb": {
    "r": 31,
    "g": 84,
    "b": 130
  },
  "hsl": {
    "h": 207.879,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.4342,
    "c": 0.09436,
    "h": 248.2
  },
  "luminance": 0.08244
}

Semantic roles & 50–950 ramp

primary
#1F5482
secondary
#B57B48
accent
#8E43E5
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1F5482

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

Preview Lab → · Contrast checker → · Palette generator →

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