#1A2CA0#1A2CA0

#1A2CA0 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.2% C 0.185 H 267.8°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#1A2CA0
RGBrgb(26, 44, 160)
HSLhsl(232, 72%, 36%)
HSVhsv(232, 84%, 63%)
CMYKcmyk(83.8%, 72.5%, 0%, 37.3%)
CIE-LABlab(25.44, 37.46, -63.88)
CIE-LCHlch(25.44, 74.05, 300.39°)
OKLaboklab(37.25% -0.007 -0.1851)
OKLCHoklch(37.25% 0.185 267.8)
XYZxyz(7.6696, 4.5581, 33.7265)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2CA0 #A08E1A
analogous
#1A6FA0 #1A2CA0 #4B1AA0
triadic
#1A2CA0 #A01A2C #2CA01A
tetradic
#1A2CA0 #A01A6F #A08E1A #1AA04B
square
#1A2CA0 #A01A6F #A08E1A #1AA04B
split-complementary
#1A2CA0 #A04B1A #6FA01A
monochromatic
#090F37 #111E6B #1A2CA0 #233AD5 #5265E3

Accessibility & contrast

On white

10.98
#1A2CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#1A2CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2CA0
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2CA0#FFFFFF#000000##FFFFFF
##1A2CA01.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A3
Deuteranopia (green-blind)
#00369E
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1a2ca0;
/* rgb */ color: rgb(26, 44, 160);
/* oklch */ color: oklch(37.2% 0.185 267.8);
Tailwind
colors: {
  custom: {
    50: '#7166bd',
    500: '#1a2ca0',
    950: '#000000',
  },
}
SCSS
$custom: #1a2ca0;
$custom-light: #7166bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2ca0",
  "rgb": {
    "r": 26,
    "g": 44,
    "b": 160
  },
  "hsl": {
    "h": 231.94,
    "s": 72.043,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37248,
    "c": 0.18527,
    "h": 267.8
  },
  "luminance": 0.04559
}

Semantic roles & 50–950 ramp

primary
#1A2CA0
secondary
#C5B650
accent
#D639EF
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1A2CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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