#1F529F#1F529F

#1F529F is a dark, vivid blue. Relative luminance 0.088; OKLCH L 44.9% C 0.137 H 258.8°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#1F529F
RGBrgb(31, 82, 159)
HSLhsl(216, 67%, 37%)
HSVhsv(216, 81%, 62%)
CMYKcmyk(80.5%, 48.4%, 0%, 37.6%)
CIE-LABlab(35.65, 12.13, -46.61)
CIE-LCHlch(35.65, 48.16, 284.59°)
OKLaboklab(44.9% -0.0265 -0.1339)
OKLCHoklch(44.9% 0.137 258.8)
XYZxyz(9.8381, 8.8279, 33.9796)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F529F #9F6C1F
analogous
#1F929F #1F529F #2C1F9F
triadic
#1F529F #9F1F52 #529F1F
tetradic
#1F529F #9F1F92 #9F6C1F #1F9F2C
square
#1F529F #9F1F92 #9F6C1F #1F9F2C
split-complementary
#1F529F #9F2C1F #929F1F
monochromatic
#0B1D39 #15386C #1F529F #296CD2 #5A8FDF

Accessibility & contrast

On white

7.59
#1F529F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#1F529F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F529F
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F529F#FFFFFF#000000##FFFFFF
##1F529F1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275AA2
Deuteranopia (green-blind)
#004E9D
Tritanopia (blue-blind)
#006471
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #1f529f;
/* rgb */ color: rgb(31, 82, 159);
/* oklch */ color: oklch(44.9% 0.137 258.8);
Tailwind
colors: {
  custom: {
    50: '#7082bc',
    500: '#1f529f',
    950: '#000000',
  },
}
SCSS
$custom: #1f529f;
$custom-light: #7082bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1f529f",
  "rgb": {
    "r": 31,
    "g": 82,
    "b": 159
  },
  "hsl": {
    "h": 216.094,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.44903,
    "c": 0.13652,
    "h": 258.8
  },
  "luminance": 0.08829
}

Semantic roles & 50–950 ramp

primary
#1F529F
secondary
#C39857
accent
#A53EEA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1F529F

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

Preview Lab → · Contrast checker → · Palette generator →

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