#1F5381#1F5381

#1F5381 is a dark, moderate cyan. Relative luminance 0.081; OKLCH L 43.1% C 0.094 H 248.6°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#1F5381
RGBrgb(31, 83, 129)
HSLhsl(208, 61%, 31%)
HSVhsv(208, 76%, 51%)
CMYKcmyk(76%, 35.7%, 0%, 49.4%)
CIE-LABlab(34.11, -0.41, -30.82)
CIE-LCHlch(34.11, 30.82, 269.24°)
OKLaboklab(43.11% -0.0343 -0.0875)
OKLCHoklch(43.11% 0.094 248.6)
XYZxyz(7.6193, 8.0619, 21.9192)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5381 #814D1F
analogous
#1F817E #1F5381 #1F2281
triadic
#1F5381 #811F53 #53811F
tetradic
#1F5381 #7E1F81 #814D1F #22811F
square
#1F5381 #7E1F81 #814D1F #22811F
split-complementary
#1F5381 #811F22 #817E1F
monochromatic
#07141E #133350 #1F5381 #2B73B2 #4791D3

Accessibility & contrast

On white

8.04
#1F5381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F5381
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5381#FFFFFF#000000##FFFFFF
##1F53811.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5583
Deuteranopia (green-blind)
#304C80
Tritanopia (blue-blind)
#005E64
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1f5381;
/* rgb */ color: rgb(31, 83, 129);
/* oklch */ color: oklch(43.1% 0.094 248.6);
Tailwind
colors: {
  custom: {
    50: '#6983a6',
    500: '#1f5381',
    950: '#000000',
  },
}
SCSS
$custom: #1f5381;
$custom-light: #6983a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5381",
  "rgb": {
    "r": 31,
    "g": 83,
    "b": 129
  },
  "hsl": {
    "h": 208.163,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.43109,
    "c": 0.09403,
    "h": 248.6
  },
  "luminance": 0.08063
}

Semantic roles & 50–950 ramp

primary
#1F5381
secondary
#B47B48
accent
#8F43E4
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1F5381

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

Preview Lab → · Contrast checker → · Palette generator →

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