#1A2EA0#1A2EA0

#1A2EA0 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.6% C 0.183 H 267.6°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#1A2EA0
RGBrgb(26, 46, 160)
HSLhsl(231, 72%, 36%)
HSVhsv(231, 84%, 63%)
CMYKcmyk(83.8%, 71.2%, 0%, 37.3%)
CIE-LABlab(25.89, 36.20, -63.12)
CIE-LCHlch(25.89, 72.77, 299.83°)
OKLaboklab(37.58% -0.0078 -0.1829)
OKLCHoklch(37.58% 0.183 267.6)
XYZxyz(7.7460, 4.7107, 33.7519)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2EA0 #A08C1A
analogous
#1A71A0 #1A2EA0 #491AA0
triadic
#1A2EA0 #A01A2E #2EA01A
tetradic
#1A2EA0 #A01A71 #A08C1A #1AA049
square
#1A2EA0 #A01A71 #A08C1A #1AA049
split-complementary
#1A2EA0 #A0491A #71A01A
monochromatic
#091037 #111F6B #1A2EA0 #233DD5 #5267E3

Accessibility & contrast

On white

10.81
#1A2EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#1A2EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2EA0
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2EA0#FFFFFF#000000##FFFFFF
##1A2EA01.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A3
Deuteranopia (green-blind)
#00379E
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1a2ea0;
/* rgb */ color: rgb(26, 46, 160);
/* oklch */ color: oklch(37.6% 0.183 267.6);
Tailwind
colors: {
  custom: {
    50: '#7167bd',
    500: '#1a2ea0',
    950: '#000000',
  },
}
SCSS
$custom: #1a2ea0;
$custom-light: #7167bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2ea0",
  "rgb": {
    "r": 26,
    "g": 46,
    "b": 160
  },
  "hsl": {
    "h": 231.045,
    "s": 72.043,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37578,
    "c": 0.18312,
    "h": 267.6
  },
  "luminance": 0.04712
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A2EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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