#1B54A4#1B54A4

#1B54A4 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 45.6% C 0.142 H 258.0°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#1B54A4
RGBrgb(27, 84, 164)
HSLhsl(215, 72%, 37%)
HSVhsv(215, 84%, 64%)
CMYKcmyk(83.5%, 48.8%, 0%, 35.7%)
CIE-LABlab(36.47, 12.39, -48.29)
CIE-LCHlch(36.47, 49.86, 284.39°)
OKLaboklab(45.61% -0.0295 -0.1389)
OKLCHoklch(45.61% 0.142 258)
XYZxyz(10.3207, 9.2527, 36.3568)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B54A4 #A46B1B
analogous
#1B99A4 #1B54A4 #261BA4
triadic
#1B54A4 #A41B54 #54A41B
tetradic
#1B54A4 #A41B99 #A46B1B #1BA426
square
#1B54A4 #A41B99 #A46B1B #1BA426
split-complementary
#1B54A4 #A4261B #99A41B
monochromatic
#0A1E3B #12396F #1B54A4 #246FD9 #5691E3

Accessibility & contrast

On white

7.37
#1B54A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#1B54A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B54A4
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B54A4#FFFFFF#000000##FFFFFF
##1B54A41.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255CA7
Deuteranopia (green-blind)
#0050A2
Tritanopia (blue-blind)
#006774
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #1b54a4;
/* rgb */ color: rgb(27, 84, 164);
/* oklch */ color: oklch(45.6% 0.142 258.0);
Tailwind
colors: {
  custom: {
    50: '#7083bf',
    500: '#1b54a4',
    950: '#000000',
  },
}
SCSS
$custom: #1b54a4;
$custom-light: #7083bf;
$custom-dark: #000000;
JSON
{
  "hex": "#1b54a4",
  "rgb": {
    "r": 27,
    "g": 84,
    "b": 164
  },
  "hsl": {
    "h": 215.036,
    "s": 71.728,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45607,
    "c": 0.142,
    "h": 258
  },
  "luminance": 0.09254
}

Semantic roles & 50–950 ramp

primary
#1B54A4
secondary
#C69754
accent
#A339EE
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1B54A4

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

Preview Lab → · Contrast checker → · Palette generator →

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