#1A2A8E#1A2A8E

#1A2A8E is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.0% C 0.164 H 268.5°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#1A2A8E
RGBrgb(26, 42, 142)
HSLhsl(232, 69%, 33%)
HSVhsv(232, 82%, 56%)
CMYKcmyk(81.7%, 70.4%, 0%, 44.3%)
CIE-LABlab(23.09, 32.06, -56.68)
CIE-LCHlch(23.09, 65.12, 299.49°)
OKLaboklab(34.99% -0.0044 -0.1642)
OKLCHoklch(34.99% 0.164 268.5)
XYZxyz(6.1348, 3.8278, 26.0015)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2A8E #8E7E1A
analogous
#1A648E #1A2A8E #441A8E
triadic
#1A2A8E #8E1A2A #2A8E1A
tetradic
#1A2A8E #8E1A64 #8E7E1A #1A8E44
square
#1A2A8E #8E1A64 #8E7E1A #1A8E44
split-complementary
#1A2A8E #8E441A #648E1A
monochromatic
#070B27 #111B5A #1A2A8E #2339C2 #455ADD

Accessibility & contrast

On white

11.89
#1A2A8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#1A2A8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2A8E
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2A8E#FFFFFF#000000##FFFFFF
##1A2A8E1.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D91
Deuteranopia (green-blind)
#00318C
Tritanopia (blue-blind)
#004658
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1a2a8e;
/* rgb */ color: rgb(26, 42, 142);
/* oklch */ color: oklch(35.0% 0.164 268.5);
Tailwind
colors: {
  custom: {
    50: '#6d64b0',
    500: '#1a2a8e',
    950: '#000000',
  },
}
SCSS
$custom: #1a2a8e;
$custom-light: #6d64b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2a8e",
  "rgb": {
    "r": 26,
    "g": 42,
    "b": 142
  },
  "hsl": {
    "h": 231.724,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34993,
    "c": 0.16423,
    "h": 268.5
  },
  "luminance": 0.03829
}

Semantic roles & 50–950 ramp

primary
#1A2A8E
secondary
#BEAE45
accent
#D43CEC
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#080511
muted
#7B7980

Preview Lab

Preview with #1A2A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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