#1F5382#1F5382

#1F5382 is a dark, moderate cyan. Relative luminance 0.081; OKLCH L 43.2% C 0.095 H 249.1°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#1F5382
RGBrgb(31, 83, 130)
HSLhsl(208, 61%, 32%)
HSVhsv(208, 76%, 51%)
CMYKcmyk(76.2%, 36.2%, 0%, 49%)
CIE-LABlab(34.17, -0.02, -31.34)
CIE-LCHlch(34.17, 31.34, 269.97°)
OKLaboklab(43.17% -0.034 -0.0891)
OKLCHoklch(43.17% 0.095 249.1)
XYZxyz(7.6861, 8.0887, 22.2710)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5382 #824E1F
analogous
#1F8280 #1F5382 #1F2182
triadic
#1F5382 #821F53 #53821F
tetradic
#1F5382 #801F82 #824E1F #21821F
square
#1F5382 #801F82 #824E1F #21821F
split-complementary
#1F5382 #821F21 #82801F
monochromatic
#07141F #133351 #1F5382 #2B73B3 #4891D3

Accessibility & contrast

On white

8.02
#1F5382 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#1F5382 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5382
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5382#FFFFFF#000000##FFFFFF
##1F53821.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5584
Deuteranopia (green-blind)
#2F4C81
Tritanopia (blue-blind)
#005E64
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1f5382;
/* rgb */ color: rgb(31, 83, 130);
/* oklch */ color: oklch(43.2% 0.095 249.1);
Tailwind
colors: {
  custom: {
    50: '#6983a6',
    500: '#1f5382',
    950: '#000000',
  },
}
SCSS
$custom: #1f5382;
$custom-light: #6983a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5382",
  "rgb": {
    "r": 31,
    "g": 83,
    "b": 130
  },
  "hsl": {
    "h": 208.485,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43171,
    "c": 0.09535,
    "h": 249.1
  },
  "luminance": 0.0809
}

Semantic roles & 50–950 ramp

primary
#1F5382
secondary
#B57C48
accent
#9043E5
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1F5382

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

Preview Lab → · Contrast checker → · Palette generator →

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