#1A2EA1#1A2EA1

#1A2EA1 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.7% C 0.184 H 267.5°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#1A2EA1
RGBrgb(26, 46, 161)
HSLhsl(231, 72%, 37%)
HSVhsv(231, 84%, 63%)
CMYKcmyk(83.9%, 71.4%, 0%, 36.9%)
CIE-LABlab(26.00, 36.57, -63.56)
CIE-LCHlch(26.00, 73.33, 299.91°)
OKLaboklab(37.68% -0.0079 -0.1842)
OKLCHoklch(37.68% 0.184 267.5)
XYZxyz(7.8338, 4.7459, 34.2145)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2EA1 #A18D1A
analogous
#1A72A1 #1A2EA1 #4A1AA1
triadic
#1A2EA1 #A11A2E #2EA11A
tetradic
#1A2EA1 #A11A72 #A18D1A #1AA14A
square
#1A2EA1 #A11A72 #A18D1A #1AA14A
split-complementary
#1A2EA1 #A14A1A #72A11A
monochromatic
#091038 #111F6C #1A2EA1 #233DD6 #5268E3

Accessibility & contrast

On white

10.77
#1A2EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#1A2EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2EA1
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2EA1#FFFFFF#000000##FFFFFF
##1A2EA11.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A4
Deuteranopia (green-blind)
#00379F
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1a2ea1;
/* rgb */ color: rgb(26, 46, 161);
/* oklch */ color: oklch(37.7% 0.184 267.5);
Tailwind
colors: {
  custom: {
    50: '#7167be',
    500: '#1a2ea1',
    950: '#000000',
  },
}
SCSS
$custom: #1a2ea1;
$custom-light: #7167be;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2ea1",
  "rgb": {
    "r": 26,
    "g": 46,
    "b": 161
  },
  "hsl": {
    "h": 231.111,
    "s": 72.193,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37684,
    "c": 0.18439,
    "h": 267.5
  },
  "luminance": 0.04747
}

Semantic roles & 50–950 ramp

primary
#1A2EA1
secondary
#C6B551
accent
#D439EF
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1A2EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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