#1A45B3#1A45B3

#1A45B3 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.6% C 0.181 H 264.0°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#1A45B3
RGBrgb(26, 69, 179)
HSLhsl(223, 75%, 40%)
HSVhsv(223, 85%, 70%)
CMYKcmyk(85.5%, 61.5%, 0%, 29.8%)
CIE-LABlab(33.41, 28.35, -62.18)
CIE-LCHlch(33.41, 68.34, 294.51°)
OKLaboklab(43.65% -0.019 -0.18)
OKLCHoklch(43.65% 0.181 264)
XYZxyz(10.6879, 7.7292, 43.5677)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A45B3 #B3881A
analogous
#1A92B3 #1A45B3 #3B1AB3
triadic
#1A45B3 #B31A45 #45B31A
tetradic
#1A45B3 #B31A92 #B3881A #1AB33B
square
#1A45B3 #B31A92 #B3881A #1AB33B
split-complementary
#1A45B3 #B33B1A #92B31A
monochromatic
#0A1C48 #12307E #1A45B3 #2A5DE0 #6086E8

Accessibility & contrast

On white

8.25
#1A45B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#1A45B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A45B3
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A45B3#FFFFFF#000000##FFFFFF
##1A45B31.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B7
Deuteranopia (green-blind)
#0048B1
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1a45b3;
/* rgb */ color: rgb(26, 69, 179);
/* oklch */ color: oklch(43.6% 0.181 264.0);
Tailwind
colors: {
  custom: {
    50: '#7478cb',
    500: '#1a45b3',
    950: '#000000',
  },
}
SCSS
$custom: #1a45b3;
$custom-light: #7478cb;
$custom-dark: #000000;
JSON
{
  "hex": "#1a45b3",
  "rgb": {
    "r": 26,
    "g": 69,
    "b": 179
  },
  "hsl": {
    "h": 223.137,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43648,
    "c": 0.18102,
    "h": 264
  },
  "luminance": 0.07731
}

Semantic roles & 50–950 ramp

primary
#1A45B3
secondary
#CCAD5D
accent
#BD37F1
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #1A45B3

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

Preview Lab → · Contrast checker → · Palette generator →

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