#1B52B4#1B52B4

#1B52B4 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.4% C 0.166 H 261.0°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#1B52B4
RGBrgb(27, 82, 180)
HSLhsl(218, 74%, 41%)
HSVhsv(218, 85%, 71%)
CMYKcmyk(85%, 54.4%, 0%, 29.4%)
CIE-LABlab(37.04, 20.12, -56.86)
CIE-LCHlch(37.04, 60.31, 289.49°)
OKLaboklab(46.41% -0.026 -0.1641)
OKLCHoklch(46.41% 0.166 261)
XYZxyz(11.7045, 9.5614, 44.3998)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B52B4 #B47D1B
analogous
#1B9EB4 #1B52B4 #301BB4
triadic
#1B52B4 #B41B52 #52B41B
tetradic
#1B52B4 #B41B9E #B47D1B #1BB430
square
#1B52B4 #B41B9E #B47D1B #1BB430
split-complementary
#1B52B4 #B4301B #9EB41B
monochromatic
#0B224A #133A7F #1B52B4 #2D6DDF #6292E7

Accessibility & contrast

On white

7.21
#1B52B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#1B52B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B52B4
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B52B4#FFFFFF#000000##FFFFFF
##1B52B41.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB7
Deuteranopia (green-blind)
#0051B2
Tritanopia (blue-blind)
#006A7B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #1b52b4;
/* rgb */ color: rgb(27, 82, 180);
/* oklch */ color: oklch(46.4% 0.166 261.0);
Tailwind
colors: {
  custom: {
    50: '#7481cb',
    500: '#1b52b4',
    950: '#000000',
  },
}
SCSS
$custom: #1b52b4;
$custom-light: #7481cb;
$custom-dark: #000000;
JSON
{
  "hex": "#1b52b4",
  "rgb": {
    "r": 27,
    "g": 82,
    "b": 180
  },
  "hsl": {
    "h": 218.431,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.46413,
    "c": 0.16618,
    "h": 261
  },
  "luminance": 0.09563
}

Semantic roles & 50–950 ramp

primary
#1B52B4
secondary
#CCA55F
accent
#AE37F1
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #1B52B4

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

Preview Lab → · Contrast checker → · Palette generator →

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