#1B52A0#1B52A0

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

Color values

HEX#1B52A0
RGBrgb(27, 82, 160)
HSLhsl(215, 71%, 37%)
HSVhsv(215, 83%, 63%)
CMYKcmyk(83.1%, 48.8%, 0%, 37.3%)
CIE-LABlab(35.61, 12.12, -47.29)
CIE-LCHlch(35.61, 48.81, 284.38°)
OKLaboklab(44.86% -0.0286 -0.136)
OKLCHoklch(44.86% 0.139 258.1)
XYZxyz(9.8121, 8.8045, 34.4332)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B52A0 #A0691B
analogous
#1B95A0 #1B52A0 #271BA0
triadic
#1B52A0 #A01B52 #52A01B
tetradic
#1B52A0 #A01B95 #A0691B #1BA027
square
#1B52A0 #A01B95 #A0691B #1BA027
split-complementary
#1B52A0 #A0271B #95A01B
monochromatic
#091C37 #12376C #1B52A0 #246DD4 #538EE2

Accessibility & contrast

On white

7.61
#1B52A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#1B52A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B52A0
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B52A0#FFFFFF#000000##FFFFFF
##1B52A01.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255AA3
Deuteranopia (green-blind)
#004E9E
Tritanopia (blue-blind)
#006571
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #1b52a0;
/* rgb */ color: rgb(27, 82, 160);
/* oklch */ color: oklch(44.9% 0.139 258.1);
Tailwind
colors: {
  custom: {
    50: '#6f82bd',
    500: '#1b52a0',
    950: '#000000',
  },
}
SCSS
$custom: #1b52a0;
$custom-light: #6f82bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1b52a0",
  "rgb": {
    "r": 27,
    "g": 82,
    "b": 160
  },
  "hsl": {
    "h": 215.188,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44857,
    "c": 0.13896,
    "h": 258.1
  },
  "luminance": 0.08806
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B52A0

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

Preview Lab → · Contrast checker → · Palette generator →

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