#1B45AA#1B45AA

#1B45AA is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.9% C 0.169 H 263.7°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#1B45AA
RGBrgb(27, 69, 170)
HSLhsl(222, 73%, 39%)
HSVhsv(222, 84%, 67%)
CMYKcmyk(84.1%, 59.4%, 0%, 33.3%)
CIE-LABlab(32.68, 24.90, -58.02)
CIE-LCHlch(32.68, 63.14, 293.22°)
OKLaboklab(42.87% -0.0187 -0.1678)
OKLCHoklch(42.87% 0.169 263.7)
XYZxyz(9.8332, 7.3903, 38.9306)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B45AA #AA801B
analogous
#1B8CAA #1B45AA #391BAA
triadic
#1B45AA #AA1B45 #45AA1B
tetradic
#1B45AA #AA1B8C #AA801B #1BAA39
square
#1B45AA #AA1B8C #AA801B #1BAA39
split-complementary
#1B45AA #AA391B #8CAA1B
monochromatic
#0A1A40 #133075 #1B45AA #265BDC #5B83E5

Accessibility & contrast

On white

8.47
#1B45AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#1B45AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B45AA
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B45AA#FFFFFF#000000##FFFFFF
##1B45AA1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AD
Deuteranopia (green-blind)
#0047A8
Tritanopia (blue-blind)
#005F70
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1b45aa;
/* rgb */ color: rgb(27, 69, 170);
/* oklch */ color: oklch(42.9% 0.169 263.7);
Tailwind
colors: {
  custom: {
    50: '#7278c4',
    500: '#1b45aa',
    950: '#000000',
  },
}
SCSS
$custom: #1b45aa;
$custom-light: #7278c4;
$custom-dark: #000000;
JSON
{
  "hex": "#1b45aa",
  "rgb": {
    "r": 27,
    "g": 69,
    "b": 170
  },
  "hsl": {
    "h": 222.378,
    "s": 72.589,
    "l": 38.627
  },
  "oklch": {
    "l": 0.42872,
    "c": 0.16883,
    "h": 263.7
  },
  "luminance": 0.07392
}

Semantic roles & 50–950 ramp

primary
#1B45AA
secondary
#C9A858
accent
#BA39EF
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090813
muted
#7B7B82

Preview Lab

Preview with #1B45AA

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

Preview Lab → · Contrast checker → · Palette generator →

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