#1F539D#1F539D

#1F539D is a dark, vivid blue. Relative luminance 0.089; OKLCH L 45.0% C 0.133 H 258.0°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#1F539D
RGBrgb(31, 83, 157)
HSLhsl(215, 67%, 37%)
HSVhsv(215, 80%, 62%)
CMYKcmyk(80.3%, 47.1%, 0%, 38.4%)
CIE-LABlab(35.81, 10.66, -45.14)
CIE-LCHlch(35.81, 46.39, 283.29°)
OKLaboklab(44.98% -0.0276 -0.1296)
OKLCHoklch(44.98% 0.133 258)
XYZxyz(9.7419, 8.9110, 33.0983)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F539D #9D691F
analogous
#1F929D #1F539D #2A1F9D
triadic
#1F539D #9D1F53 #539D1F
tetradic
#1F539D #9D1F92 #9D691F #1F9D2A
square
#1F539D #9D1F92 #9D691F #1F9D2A
split-complementary
#1F539D #9D2A1F #929D1F
monochromatic
#0B1D37 #15386A #1F539D #296ED0 #5890DE

Accessibility & contrast

On white

7.55
#1F539D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#1F539D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F539D
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F539D#FFFFFF#000000##FFFFFF
##1F539D1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5AA0
Deuteranopia (green-blind)
#094F9C
Tritanopia (blue-blind)
#006570
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #1f539d;
/* rgb */ color: rgb(31, 83, 157);
/* oklch */ color: oklch(45.0% 0.133 258.0);
Tailwind
colors: {
  custom: {
    50: '#6f82ba',
    500: '#1f539d',
    950: '#000000',
  },
}
SCSS
$custom: #1f539d;
$custom-light: #6f82ba;
$custom-dark: #000000;
JSON
{
  "hex": "#1f539d",
  "rgb": {
    "r": 31,
    "g": 83,
    "b": 157
  },
  "hsl": {
    "h": 215.238,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44984,
    "c": 0.13252,
    "h": 258
  },
  "luminance": 0.08912
}

Semantic roles & 50–950 ramp

primary
#1F539D
secondary
#C29556
accent
#A33EEA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1F539D

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

Preview Lab → · Contrast checker → · Palette generator →

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