#1A45A7#1A45A7

#1A45A7 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.6% C 0.165 H 263.2°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#1A45A7
RGBrgb(26, 69, 167)
HSLhsl(222, 73%, 38%)
HSVhsv(222, 84%, 65%)
CMYKcmyk(84.4%, 58.7%, 0%, 34.5%)
CIE-LABlab(32.40, 23.63, -56.68)
CIE-LCHlch(32.40, 61.41, 292.63°)
OKLaboklab(42.58% -0.0194 -0.1639)
OKLCHoklch(42.58% 0.165 263.2)
XYZxyz(9.5267, 7.2647, 37.4518)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A45A7 #A77C1A
analogous
#1A8BA7 #1A45A7 #351AA7
triadic
#1A45A7 #A71A45 #45A71A
tetradic
#1A45A7 #A71A8B #A77C1A #1AA735
square
#1A45A7 #A71A8B #A77C1A #1AA735
split-complementary
#1A45A7 #A7351A #8BA71A
monochromatic
#0A193D #122F72 #1A45A7 #225BDC #5782E5

Accessibility & contrast

On white

8.56
#1A45A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#1A45A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A45A7
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A45A7#FFFFFF#000000##FFFFFF
##1A45A71.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AA
Deuteranopia (green-blind)
#0046A5
Tritanopia (blue-blind)
#005E6F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1a45a7;
/* rgb */ color: rgb(26, 69, 167);
/* oklch */ color: oklch(42.6% 0.165 263.2);
Tailwind
colors: {
  custom: {
    50: '#7178c2',
    500: '#1a45a7',
    950: '#000000',
  },
}
SCSS
$custom: #1a45a7;
$custom-light: #7178c2;
$custom-dark: #000000;
JSON
{
  "hex": "#1a45a7",
  "rgb": {
    "r": 26,
    "g": 69,
    "b": 167
  },
  "hsl": {
    "h": 221.702,
    "s": 73.057,
    "l": 37.843
  },
  "oklch": {
    "l": 0.42578,
    "c": 0.16503,
    "h": 263.2
  },
  "luminance": 0.07266
}

Semantic roles & 50–950 ramp

primary
#1A45A7
secondary
#C8A555
accent
#B838F0
background
#F7F7FC
surface
#EDEDF8
border
#C8C8D1
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1A45A7

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

Preview Lab → · Contrast checker → · Palette generator →

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