#1A45BB#1A45BB

#1A45BB is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.4% C 0.191 H 264.3°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#1A45BB
RGBrgb(26, 69, 187)
HSLhsl(224, 76%, 42%)
HSVhsv(224, 86%, 73%)
CMYKcmyk(86.1%, 63.1%, 0%, 26.7%)
CIE-LABlab(34.11, 31.45, -65.76)
CIE-LCHlch(34.11, 72.90, 295.56°)
OKLaboklab(44.38% -0.0189 -0.1905)
OKLCHoklch(44.38% 0.191 264.3)
XYZxyz(11.5206, 8.0623, 47.9530)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A45BB #BB901A
analogous
#1A96BB #1A45BB #3F1ABB
triadic
#1A45BB #BB1A45 #45BB1A
tetradic
#1A45BB #BB1A96 #BB901A #1ABB3F
square
#1A45BB #BB1A96 #BB901A #1ABB3F
split-complementary
#1A45BB #BB3F1A #96BB1A
monochromatic
#0B1D50 #133185 #1A45BB #3060E2 #6689EA

Accessibility & contrast

On white

8.04
#1A45BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#1A45BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A45BB
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A45BB#FFFFFF#000000##FFFFFF
##1A45BB1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BF
Deuteranopia (green-blind)
#0049B9
Tritanopia (blue-blind)
#006479
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1a45bb;
/* rgb */ color: rgb(26, 69, 187);
/* oklch */ color: oklch(44.4% 0.191 264.3);
Tailwind
colors: {
  custom: {
    50: '#7678d0',
    500: '#1a45bb',
    950: '#000000',
  },
}
SCSS
$custom: #1a45bb;
$custom-light: #7678d0;
$custom-dark: #000000;
JSON
{
  "hex": "#1a45bb",
  "rgb": {
    "r": 26,
    "g": 69,
    "b": 187
  },
  "hsl": {
    "h": 223.975,
    "s": 75.587,
    "l": 41.765
  },
  "oklch": {
    "l": 0.44383,
    "c": 0.19143,
    "h": 264.3
  },
  "luminance": 0.08064
}

Semantic roles & 50–950 ramp

primary
#1A45BB
secondary
#CFB262
accent
#C036F2
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0A0814
muted
#7C7B82

Preview Lab

Preview with #1A45BB

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

Preview Lab → · Contrast checker → · Palette generator →

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