#1B529F#1B529F

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

Color values

HEX#1B529F
RGBrgb(27, 82, 159)
HSLhsl(215, 71%, 36%)
HSVhsv(215, 83%, 62%)
CMYKcmyk(83%, 48.4%, 0%, 37.6%)
CIE-LABlab(35.54, 11.72, -46.80)
CIE-LCHlch(35.54, 48.24, 284.06°)
OKLaboklab(44.78% -0.0288 -0.1345)
OKLCHoklch(44.78% 0.138 257.9)
XYZxyz(9.7250, 8.7696, 33.9743)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B529F #9F681B
analogous
#1B949F #1B529F #261B9F
triadic
#1B529F #9F1B52 #529F1B
tetradic
#1B529F #9F1B94 #9F681B #1B9F26
square
#1B529F #9F1B94 #9F681B #1B9F26
split-complementary
#1B529F #9F261B #949F1B
monochromatic
#091C36 #12376B #1B529F #246DD3 #538EE2

Accessibility & contrast

On white

7.62
#1B529F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B529F
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B529F#FFFFFF#000000##FFFFFF
##1B529F1.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b529f;
/* rgb */ color: rgb(27, 82, 159);
/* oklch */ color: oklch(44.8% 0.138 257.9);
Tailwind
colors: {
  custom: {
    50: '#6f82bc',
    500: '#1b529f',
    950: '#000000',
  },
}
SCSS
$custom: #1b529f;
$custom-light: #6f82bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1b529f",
  "rgb": {
    "r": 27,
    "g": 82,
    "b": 159
  },
  "hsl": {
    "h": 215,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44783,
    "c": 0.13759,
    "h": 257.9
  },
  "luminance": 0.08771
}

Semantic roles & 50–950 ramp

primary
#1B529F
secondary
#C59551
accent
#A33AEE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1B529F

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

Preview Lab → · Contrast checker → · Palette generator →

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