#1A2C80#1A2C80

#1A2C80 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.9% C 0.143 H 268.1°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#1A2C80
RGBrgb(26, 44, 128)
HSLhsl(229, 66%, 30%)
HSVhsv(229, 80%, 50%)
CMYKcmyk(79.7%, 65.6%, 0%, 49.8%)
CIE-LABlab(22.23, 25.30, -49.34)
CIE-LCHlch(22.23, 55.45, 297.15°)
OKLaboklab(33.94% -0.0046 -0.1427)
OKLCHoklch(33.94% 0.143 268.1)
XYZxyz(5.2216, 3.5789, 20.8335)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2C80 #806E1A
analogous
#1A5F80 #1A2C80 #3B1A80
triadic
#1A2C80 #801A2C #2C801A
tetradic
#1A2C80 #801A5F #806E1A #1A803B
square
#1A2C80 #801A5F #806E1A #1A803B
split-complementary
#1A2C80 #803B1A #5F801A
monochromatic
#05091A #101B4D #1A2C80 #243DB3 #3D58D8

Accessibility & contrast

On white

12.24
#1A2C80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#1A2C80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2C80
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2C80#FFFFFF#000000##FFFFFF
##1A2C801.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A83
Deuteranopia (green-blind)
#00307E
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1a2c80;
/* rgb */ color: rgb(26, 44, 128);
/* oklch */ color: oklch(33.9% 0.143 268.1);
Tailwind
colors: {
  custom: {
    50: '#6965a6',
    500: '#1a2c80',
    950: '#000000',
  },
}
SCSS
$custom: #1a2c80;
$custom-light: #6965a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2c80",
  "rgb": {
    "r": 26,
    "g": 44,
    "b": 128
  },
  "hsl": {
    "h": 229.412,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33942,
    "c": 0.14279,
    "h": 268.1
  },
  "luminance": 0.03579
}

Semantic roles & 50–950 ramp

primary
#1A2C80
secondary
#B4A042
accent
#CB3FE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #1A2C80

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

Preview Lab → · Contrast checker → · Palette generator →

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