#1F529C#1F529C

#1F529C is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.7% C 0.132 H 258.2°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#1F529C
RGBrgb(31, 82, 156)
HSLhsl(216, 67%, 37%)
HSVhsv(216, 80%, 61%)
CMYKcmyk(80.1%, 47.4%, 0%, 38.8%)
CIE-LABlab(35.45, 10.93, -45.13)
CIE-LCHlch(35.45, 46.43, 283.62°)
OKLaboklab(44.68% -0.027 -0.1296)
OKLCHoklch(44.68% 0.132 258.2)
XYZxyz(9.5809, 8.7251, 32.6252)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F529C #9C691F
analogous
#1F919C #1F529C #2B1F9C
triadic
#1F529C #9C1F52 #529C1F
tetradic
#1F529C #9C1F91 #9C691F #1F9C2B
square
#1F529C #9C1F91 #9C691F #1F9C2B
split-complementary
#1F529C #9C2B1F #919C1F
monochromatic
#0B1C36 #153769 #1F529C #296DCF #588EDE

Accessibility & contrast

On white

7.65
#1F529C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F529C
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F529C#FFFFFF#000000##FFFFFF
##1F529C1.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A599F
Deuteranopia (green-blind)
#064E9B
Tritanopia (blue-blind)
#00646F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1f529c;
/* rgb */ color: rgb(31, 82, 156);
/* oklch */ color: oklch(44.7% 0.132 258.2);
Tailwind
colors: {
  custom: {
    50: '#6f82ba',
    500: '#1f529c',
    950: '#000000',
  },
}
SCSS
$custom: #1f529c;
$custom-light: #6f82ba;
$custom-dark: #000000;
JSON
{
  "hex": "#1f529c",
  "rgb": {
    "r": 31,
    "g": 82,
    "b": 156
  },
  "hsl": {
    "h": 215.52,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44683,
    "c": 0.13236,
    "h": 258.2
  },
  "luminance": 0.08726
}

Semantic roles & 50–950 ramp

primary
#1F529C
secondary
#C19555
accent
#A43EEA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1F529C

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

Preview Lab → · Contrast checker → · Palette generator →

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