#1F529D#1F529D

#1F529D is a dark, vivid blue. Relative luminance 0.088; OKLCH L 44.8% C 0.134 H 258.4°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#1F529D
RGBrgb(31, 82, 157)
HSLhsl(216, 67%, 37%)
HSVhsv(216, 80%, 62%)
CMYKcmyk(80.3%, 47.8%, 0%, 38.4%)
CIE-LABlab(35.52, 11.33, -45.62)
CIE-LCHlch(35.52, 47.01, 283.95°)
OKLaboklab(44.76% -0.0268 -0.131)
OKLCHoklch(44.76% 0.134 258.4)
XYZxyz(9.6659, 8.7591, 33.0730)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F529D #9D6A1F
analogous
#1F919D #1F529D #2B1F9D
triadic
#1F529D #9D1F52 #529D1F
tetradic
#1F529D #9D1F91 #9D6A1F #1F9D2B
square
#1F529D #9D1F91 #9D6A1F #1F9D2B
split-complementary
#1F529D #9D2B1F #919D1F
monochromatic
#0B1D37 #15376A #1F529D #296DD0 #588EDE

Accessibility & contrast

On white

7.63
#1F529D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#1F529D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F529D
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F529D#FFFFFF#000000##FFFFFF
##1F529D1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295AA0
Deuteranopia (green-blind)
#034E9C
Tritanopia (blue-blind)
#006470
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #1f529d;
/* rgb */ color: rgb(31, 82, 157);
/* oklch */ color: oklch(44.8% 0.134 258.4);
Tailwind
colors: {
  custom: {
    50: '#6f82ba',
    500: '#1f529d',
    950: '#000000',
  },
}
SCSS
$custom: #1f529d;
$custom-light: #6f82ba;
$custom-dark: #000000;
JSON
{
  "hex": "#1f529d",
  "rgb": {
    "r": 31,
    "g": 82,
    "b": 157
  },
  "hsl": {
    "h": 215.714,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44756,
    "c": 0.13374,
    "h": 258.4
  },
  "luminance": 0.0876
}

Semantic roles & 50–950 ramp

primary
#1F529D
secondary
#C29656
accent
#A43EEA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1F529D

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

Preview Lab → · Contrast checker → · Palette generator →

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