#1B52AA#1B52AA

#1B52AA is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.6% C 0.153 H 259.8°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#1B52AA
RGBrgb(27, 82, 170)
HSLhsl(217, 73%, 39%)
HSVhsv(217, 84%, 67%)
CMYKcmyk(84.1%, 51.8%, 0%, 33.3%)
CIE-LABlab(36.31, 16.13, -52.13)
CIE-LCHlch(36.31, 54.57, 287.20°)
OKLaboklab(45.62% -0.0271 -0.1502)
OKLCHoklch(45.62% 0.153 259.8)
XYZxyz(10.7223, 9.1685, 39.2270)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B52AA #AA731B
analogous
#1B99AA #1B52AA #2B1BAA
triadic
#1B52AA #AA1B52 #52AA1B
tetradic
#1B52AA #AA1B99 #AA731B #1BAA2B
square
#1B52AA #AA1B99 #AA731B #1BAA2B
split-complementary
#1B52AA #AA2B1B #99AA1B
monochromatic
#0A1F40 #133975 #1B52AA #266CDC #5B90E5

Accessibility & contrast

On white

7.41
#1B52AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#1B52AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B52AA
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B52AA#FFFFFF#000000##FFFFFF
##1B52AA1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165CAD
Deuteranopia (green-blind)
#004FA8
Tritanopia (blue-blind)
#006776
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #1b52aa;
/* rgb */ color: rgb(27, 82, 170);
/* oklch */ color: oklch(45.6% 0.153 259.8);
Tailwind
colors: {
  custom: {
    50: '#7181c4',
    500: '#1b52aa',
    950: '#000000',
  },
}
SCSS
$custom: #1b52aa;
$custom-light: #7181c4;
$custom-dark: #000000;
JSON
{
  "hex": "#1b52aa",
  "rgb": {
    "r": 27,
    "g": 82,
    "b": 170
  },
  "hsl": {
    "h": 216.923,
    "s": 72.589,
    "l": 38.627
  },
  "oklch": {
    "l": 0.45619,
    "c": 0.15266,
    "h": 259.8
  },
  "luminance": 0.0917
}

Semantic roles & 50–950 ramp

primary
#1B52AA
secondary
#C99D58
accent
#A939EF
background
#F7F7FC
surface
#EDEEF8
border
#C8C9D1
text
#090A13
muted
#7B7C82

Preview Lab

Preview with #1B52AA

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

Preview Lab → · Contrast checker → · Palette generator →

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