#1B54AA#1B54AA

#1B54AA is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.1% C 0.150 H 259.0°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#1B54AA
RGBrgb(27, 84, 170)
HSLhsl(216, 73%, 39%)
HSVhsv(216, 84%, 67%)
CMYKcmyk(84.1%, 50.6%, 0%, 33.3%)
CIE-LABlab(36.88, 14.80, -51.20)
CIE-LCHlch(36.88, 53.29, 286.12°)
OKLaboklab(46.06% -0.0286 -0.1474)
OKLCHoklch(46.06% 0.15 259)
XYZxyz(10.8754, 9.4746, 39.2780)
Luminance0.0948 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B54AA #AA711B
analogous
#1B9BAA #1B54AA #291BAA
triadic
#1B54AA #AA1B54 #54AA1B
tetradic
#1B54AA #AA1B9B #AA711B #1BAA29
square
#1B54AA #AA1B9B #AA711B #1BAA29
split-complementary
#1B54AA #AA291B #9BAA1B
monochromatic
#0A2040 #133A75 #1B54AA #266FDC #5B92E5

Accessibility & contrast

On white

7.25
#1B54AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#1B54AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B54AA
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B54AA#FFFFFF#000000##FFFFFF
##1B54AA1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5EAD
Deuteranopia (green-blind)
#0051A8
Tritanopia (blue-blind)
#006977
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #1b54aa;
/* rgb */ color: rgb(27, 84, 170);
/* oklch */ color: oklch(46.1% 0.150 259.0);
Tailwind
colors: {
  custom: {
    50: '#7183c4',
    500: '#1b54aa',
    950: '#000000',
  },
}
SCSS
$custom: #1b54aa;
$custom-light: #7183c4;
$custom-dark: #000000;
JSON
{
  "hex": "#1b54aa",
  "rgb": {
    "r": 27,
    "g": 84,
    "b": 170
  },
  "hsl": {
    "h": 216.084,
    "s": 72.589,
    "l": 38.627
  },
  "oklch": {
    "l": 0.46059,
    "c": 0.15018,
    "h": 259
  },
  "luminance": 0.09476
}

Semantic roles & 50–950 ramp

primary
#1B54AA
secondary
#C99C58
accent
#A639EF
background
#F7F7FC
surface
#EDEEF8
border
#C8C9D1
text
#090A13
muted
#7B7C82

Preview Lab

Preview with #1B54AA

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

Preview Lab → · Contrast checker → · Palette generator →

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