#1F5481#1F5481

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

Color values

HEX#1F5481
RGBrgb(31, 84, 129)
HSLhsl(208, 61%, 31%)
HSVhsv(208, 76%, 51%)
CMYKcmyk(76%, 34.9%, 0%, 49.4%)
CIE-LABlab(34.43, -1.05, -30.31)
CIE-LCHlch(34.43, 30.33, 268.01°)
OKLaboklab(43.36% -0.0353 -0.0861)
OKLCHoklch(43.36% 0.093 247.7)
XYZxyz(7.6963, 8.2161, 21.9449)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5481 #814C1F
analogous
#1F817D #1F5481 #1F2381
triadic
#1F5481 #811F54 #54811F
tetradic
#1F5481 #7D1F81 #814C1F #23811F
square
#1F5481 #7D1F81 #814C1F #23811F
split-complementary
#1F5481 #811F23 #817D1F
monochromatic
#07141E #133450 #1F5481 #2B74B2 #4793D3

Accessibility & contrast

On white

7.94
#1F5481 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#1F5481 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5481
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5481#FFFFFF#000000##FFFFFF
##1F54811.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5683
Deuteranopia (green-blind)
#314D80
Tritanopia (blue-blind)
#005F64
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1f5481;
/* rgb */ color: rgb(31, 84, 129);
/* oklch */ color: oklch(43.4% 0.093 247.7);
Tailwind
colors: {
  custom: {
    50: '#6983a6',
    500: '#1f5481',
    950: '#000000',
  },
}
SCSS
$custom: #1f5481;
$custom-light: #6983a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5481",
  "rgb": {
    "r": 31,
    "g": 84,
    "b": 129
  },
  "hsl": {
    "h": 207.551,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.43359,
    "c": 0.09303,
    "h": 247.7
  },
  "luminance": 0.08217
}

Semantic roles & 50–950 ramp

primary
#1F5481
secondary
#B47948
accent
#8D43E4
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1F5481

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

Preview Lab → · Contrast checker → · Palette generator →

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