#1B52A1#1B52A1

#1B52A1 is a dark, vivid blue. Relative luminance 0.088; OKLCH L 44.9% C 0.140 H 258.3°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#1B52A1
RGBrgb(27, 82, 161)
HSLhsl(215, 71%, 37%)
HSVhsv(215, 83%, 63%)
CMYKcmyk(83.2%, 49.1%, 0%, 36.9%)
CIE-LABlab(35.67, 12.52, -47.78)
CIE-LCHlch(35.67, 49.39, 284.69°)
OKLaboklab(44.93% -0.0285 -0.1374)
OKLCHoklch(44.93% 0.14 258.3)
XYZxyz(9.8999, 8.8396, 34.8957)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B52A1 #A16A1B
analogous
#1B95A1 #1B52A1 #271BA1
triadic
#1B52A1 #A11B52 #52A11B
tetradic
#1B52A1 #A11B95 #A16A1B #1BA127
square
#1B52A1 #A11B95 #A16A1B #1BA127
split-complementary
#1B52A1 #A1271B #95A11B
monochromatic
#091D38 #12376D #1B52A1 #246DD5 #548EE2

Accessibility & contrast

On white

7.59
#1B52A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#1B52A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B52A1
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B52A1#FFFFFF#000000##FFFFFF
##1B52A11.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245AA4
Deuteranopia (green-blind)
#004E9F
Tritanopia (blue-blind)
#006572
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #1b52a1;
/* rgb */ color: rgb(27, 82, 161);
/* oklch */ color: oklch(44.9% 0.140 258.3);
Tailwind
colors: {
  custom: {
    50: '#6f82bd',
    500: '#1b52a1',
    950: '#000000',
  },
}
SCSS
$custom: #1b52a1;
$custom-light: #6f82bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1b52a1",
  "rgb": {
    "r": 27,
    "g": 82,
    "b": 161
  },
  "hsl": {
    "h": 215.373,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44932,
    "c": 0.14034,
    "h": 258.3
  },
  "luminance": 0.08841
}

Semantic roles & 50–950 ramp

primary
#1B52A1
secondary
#C59652
accent
#A43AEE
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1B52A1

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

Preview Lab → · Contrast checker → · Palette generator →

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