#1F529A#1F529A

#1F529A is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.5% C 0.130 H 257.8°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#1F529A
RGBrgb(31, 82, 154)
HSLhsl(215, 66%, 36%)
HSVhsv(215, 80%, 60%)
CMYKcmyk(79.9%, 46.8%, 0%, 39.6%)
CIE-LABlab(35.32, 10.14, -44.13)
CIE-LCHlch(35.32, 45.28, 282.93°)
OKLaboklab(44.54% -0.0273 -0.1267)
OKLCHoklch(44.54% 0.13 257.8)
XYZxyz(9.4130, 8.6579, 31.7406)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F529A #9A671F
analogous
#1F909A #1F529A #2A1F9A
triadic
#1F529A #9A1F52 #529A1F
tetradic
#1F529A #9A1F90 #9A671F #1F9A2A
square
#1F529A #9A1F90 #9A671F #1F9A2A
split-complementary
#1F529A #9A2A1F #909A1F
monochromatic
#0A1C34 #153767 #1F529A #296DCD #568EDD

Accessibility & contrast

On white

7.69
#1F529A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#1F529A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F529A
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F529A#FFFFFF#000000##FFFFFF
##1F529A1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C599D
Deuteranopia (green-blind)
#0D4E99
Tritanopia (blue-blind)
#00636E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1f529a;
/* rgb */ color: rgb(31, 82, 154);
/* oklch */ color: oklch(44.5% 0.130 257.8);
Tailwind
colors: {
  custom: {
    50: '#6e82b8',
    500: '#1f529a',
    950: '#000000',
  },
}
SCSS
$custom: #1f529a;
$custom-light: #6e82b8;
$custom-dark: #000000;
JSON
{
  "hex": "#1f529a",
  "rgb": {
    "r": 31,
    "g": 82,
    "b": 154
  },
  "hsl": {
    "h": 215.122,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44539,
    "c": 0.12958,
    "h": 257.8
  },
  "luminance": 0.08659
}

Semantic roles & 50–950 ramp

primary
#1F529A
secondary
#C19454
accent
#A23EE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1F529A

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

Preview Lab → · Contrast checker → · Palette generator →

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