#1F529E#1F529E

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

Color values

HEX#1F529E
RGBrgb(31, 82, 158)
HSLhsl(216, 67%, 37%)
HSVhsv(216, 80%, 62%)
CMYKcmyk(80.4%, 48.1%, 0%, 38%)
CIE-LABlab(35.58, 11.73, -46.11)
CIE-LCHlch(35.58, 47.58, 284.27°)
OKLaboklab(44.83% -0.0266 -0.1325)
OKLCHoklch(44.83% 0.135 258.6)
XYZxyz(9.7517, 8.7934, 33.5245)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F529E #9E6B1F
analogous
#1F919E #1F529E #2C1F9E
triadic
#1F529E #9E1F52 #529E1F
tetradic
#1F529E #9E1F91 #9E6B1F #1F9E2C
square
#1F529E #9E1F91 #9E6B1F #1F9E2C
split-complementary
#1F529E #9E2C1F #919E1F
monochromatic
#0B1D38 #15376B #1F529E #296DD1 #598FDE

Accessibility & contrast

On white

7.61
#1F529E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#1F529E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F529E
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F529E#FFFFFF#000000##FFFFFF
##1F529E1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285AA1
Deuteranopia (green-blind)
#004E9C
Tritanopia (blue-blind)
#006470
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #1f529e;
/* rgb */ color: rgb(31, 82, 158);
/* oklch */ color: oklch(44.8% 0.135 258.6);
Tailwind
colors: {
  custom: {
    50: '#6f82bb',
    500: '#1f529e',
    950: '#000000',
  },
}
SCSS
$custom: #1f529e;
$custom-light: #6f82bb;
$custom-dark: #000000;
JSON
{
  "hex": "#1f529e",
  "rgb": {
    "r": 31,
    "g": 82,
    "b": 158
  },
  "hsl": {
    "h": 215.906,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44829,
    "c": 0.13513,
    "h": 258.6
  },
  "luminance": 0.08795
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F529E

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

Preview Lab → · Contrast checker → · Palette generator →

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