#1A2E81#1A2E81

#1A2E81 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.4% C 0.142 H 267.6°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#1A2E81
RGBrgb(26, 46, 129)
HSLhsl(228, 66%, 30%)
HSVhsv(228, 80%, 51%)
CMYKcmyk(79.8%, 64.3%, 0%, 49.4%)
CIE-LABlab(22.85, 24.31, -48.94)
CIE-LCHlch(22.85, 54.65, 296.42°)
OKLaboklab(34.43% -0.006 -0.1415)
OKLCHoklch(34.43% 0.142 267.6)
XYZxyz(5.3641, 3.7580, 21.2073)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2E81 #816D1A
analogous
#1A6181 #1A2E81 #3A1A81
triadic
#1A2E81 #811A2E #2E811A
tetradic
#1A2E81 #811A61 #816D1A #1A813A
square
#1A2E81 #811A61 #816D1A #1A813A
split-complementary
#1A2E81 #813A1A #61811A
monochromatic
#050A1B #101C4E #1A2E81 #2440B4 #3D5BD8

Accessibility & contrast

On white

11.99
#1A2E81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1A2E81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2E81
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2E81#FFFFFF#000000##FFFFFF
##1A2E811.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B84
Deuteranopia (green-blind)
#00327F
Tritanopia (blue-blind)
#004453
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1a2e81;
/* rgb */ color: rgb(26, 46, 129);
/* oklch */ color: oklch(34.4% 0.142 267.6);
Tailwind
colors: {
  custom: {
    50: '#6966a6',
    500: '#1a2e81',
    950: '#000000',
  },
}
SCSS
$custom: #1a2e81;
$custom-light: #6966a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2e81",
  "rgb": {
    "r": 26,
    "g": 46,
    "b": 129
  },
  "hsl": {
    "h": 228.35,
    "s": 66.452,
    "l": 30.392
  },
  "oklch": {
    "l": 0.34434,
    "c": 0.14166,
    "h": 267.6
  },
  "luminance": 0.03759
}

Semantic roles & 50–950 ramp

primary
#1A2E81
secondary
#B59F42
accent
#C83EE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1A2E81

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

Preview Lab → · Contrast checker → · Palette generator →

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