#1B45AE#1B45AE

#1B45AE is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.2% C 0.174 H 263.9°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#1B45AE
RGBrgb(27, 69, 174)
HSLhsl(223, 73%, 39%)
HSVhsv(223, 84%, 68%)
CMYKcmyk(84.5%, 60.3%, 0%, 31.8%)
CIE-LABlab(33.01, 26.47, -59.86)
CIE-LCHlch(33.01, 65.45, 293.86°)
OKLaboklab(43.23% -0.0185 -0.1732)
OKLCHoklch(43.23% 0.174 263.9)
XYZxyz(10.2174, 7.5440, 40.9538)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B45AE #AE841B
analogous
#1B8FAE #1B45AE #3B1BAE
triadic
#1B45AE #AE1B45 #45AE1B
tetradic
#1B45AE #AE1B8F #AE841B #1BAE3B
square
#1B45AE #AE1B8F #AE841B #1BAE3B
split-complementary
#1B45AE #AE3B1B #8FAE1B
monochromatic
#0B1B44 #133079 #1B45AE #285CDE #5D84E6

Accessibility & contrast

On white

8.37
#1B45AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#1B45AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B45AE
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B45AE#FFFFFF#000000##FFFFFF
##1B45AE1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B1
Deuteranopia (green-blind)
#0047AC
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1b45ae;
/* rgb */ color: rgb(27, 69, 174);
/* oklch */ color: oklch(43.2% 0.174 263.9);
Tailwind
colors: {
  custom: {
    50: '#7378c7',
    500: '#1b45ae',
    950: '#000000',
  },
}
SCSS
$custom: #1b45ae;
$custom-light: #7378c7;
$custom-dark: #000000;
JSON
{
  "hex": "#1b45ae",
  "rgb": {
    "r": 27,
    "g": 69,
    "b": 174
  },
  "hsl": {
    "h": 222.857,
    "s": 73.134,
    "l": 39.412
  },
  "oklch": {
    "l": 0.43227,
    "c": 0.17419,
    "h": 263.9
  },
  "luminance": 0.07545
}

Semantic roles & 50–950 ramp

primary
#1B45AE
secondary
#CAAA5B
accent
#BB38F0
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #1B45AE

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

Preview Lab → · Contrast checker → · Palette generator →

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