#1A2CA1#1A2CA1

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

Color values

HEX#1A2CA1
RGBrgb(26, 44, 161)
HSLhsl(232, 72%, 37%)
HSVhsv(232, 84%, 63%)
CMYKcmyk(83.9%, 72.7%, 0%, 36.9%)
CIE-LABlab(25.54, 37.82, -64.31)
CIE-LCHlch(25.54, 74.61, 300.46°)
OKLaboklab(37.36% -0.0071 -0.1864)
OKLCHoklch(37.36% 0.187 267.8)
XYZxyz(7.7575, 4.5932, 34.1890)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2CA1 #A18F1A
analogous
#1A70A1 #1A2CA1 #4C1AA1
triadic
#1A2CA1 #A11A2C #2CA11A
tetradic
#1A2CA1 #A11A70 #A18F1A #1AA14C
square
#1A2CA1 #A11A70 #A18F1A #1AA14C
split-complementary
#1A2CA1 #A14C1A #70A11A
monochromatic
#090F38 #111E6C #1A2CA1 #233AD6 #5266E3

Accessibility & contrast

On white

10.94
#1A2CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#1A2CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2CA1
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2CA1#FFFFFF#000000##FFFFFF
##1A2CA11.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A4
Deuteranopia (green-blind)
#00369F
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1a2ca1;
/* rgb */ color: rgb(26, 44, 161);
/* oklch */ color: oklch(37.4% 0.187 267.8);
Tailwind
colors: {
  custom: {
    50: '#7266be',
    500: '#1a2ca1',
    950: '#000000',
  },
}
SCSS
$custom: #1a2ca1;
$custom-light: #7266be;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2ca1",
  "rgb": {
    "r": 26,
    "g": 44,
    "b": 161
  },
  "hsl": {
    "h": 232,
    "s": 72.193,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37356,
    "c": 0.18654,
    "h": 267.8
  },
  "luminance": 0.04594
}

Semantic roles & 50–950 ramp

primary
#1A2CA1
secondary
#C6B651
accent
#D739EF
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1A2CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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