#1F529B#1F529B

#1F529B is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.6% C 0.131 H 258.0°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#1F529B
RGBrgb(31, 82, 155)
HSLhsl(215, 67%, 36%)
HSVhsv(215, 80%, 61%)
CMYKcmyk(80%, 47.1%, 0%, 39.2%)
CIE-LABlab(35.38, 10.54, -44.63)
CIE-LCHlch(35.38, 45.86, 283.28°)
OKLaboklab(44.61% -0.0272 -0.1281)
OKLCHoklch(44.61% 0.131 258)
XYZxyz(9.4966, 8.6913, 32.1811)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F529B #9B681F
analogous
#1F909B #1F529B #2A1F9B
triadic
#1F529B #9B1F52 #529B1F
tetradic
#1F529B #9B1F90 #9B681F #1F9B2A
square
#1F529B #9B1F90 #9B681F #1F9B2A
split-complementary
#1F529B #9B2A1F #909B1F
monochromatic
#0B1C35 #153768 #1F529B #296DCE #578EDD

Accessibility & contrast

On white

7.67
#1F529B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#1F529B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F529B
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F529B#FFFFFF#000000##FFFFFF
##1F529B1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B599E
Deuteranopia (green-blind)
#0A4E9A
Tritanopia (blue-blind)
#00636F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1f529b;
/* rgb */ color: rgb(31, 82, 155);
/* oklch */ color: oklch(44.6% 0.131 258.0);
Tailwind
colors: {
  custom: {
    50: '#6f82b9',
    500: '#1f529b',
    950: '#000000',
  },
}
SCSS
$custom: #1f529b;
$custom-light: #6f82b9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f529b",
  "rgb": {
    "r": 31,
    "g": 82,
    "b": 155
  },
  "hsl": {
    "h": 215.323,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44611,
    "c": 0.13097,
    "h": 258
  },
  "luminance": 0.08692
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F529B

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

Preview Lab → · Contrast checker → · Palette generator →

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