#1A2B81#1A2B81

#1A2B81 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.8% C 0.145 H 268.4°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#1A2B81
RGBrgb(26, 43, 129)
HSLhsl(230, 66%, 30%)
HSVhsv(230, 80%, 51%)
CMYKcmyk(79.8%, 66.7%, 0%, 49.4%)
CIE-LABlab(22.06, 26.38, -50.24)
CIE-LCHlch(22.06, 56.75, 297.70°)
OKLaboklab(33.85% -0.0041 -0.1454)
OKLCHoklch(33.85% 0.145 268.4)
XYZxyz(5.2510, 3.5318, 21.1696)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2B81 #81701A
analogous
#1A5E81 #1A2B81 #3C1A81
triadic
#1A2B81 #811A2B #2B811A
tetradic
#1A2B81 #811A5E #81701A #1A813C
square
#1A2B81 #811A5E #81701A #1A813C
split-complementary
#1A2B81 #813C1A #5E811A
monochromatic
#05091B #101A4E #1A2B81 #243CB4 #3D57D8

Accessibility & contrast

On white

12.31
#1A2B81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1A2B81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2B81
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2B81#FFFFFF#000000##FFFFFF
##1A2B811.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A84
Deuteranopia (green-blind)
#00307F
Tritanopia (blue-blind)
#004252
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1a2b81;
/* rgb */ color: rgb(26, 43, 129);
/* oklch */ color: oklch(33.8% 0.145 268.4);
Tailwind
colors: {
  custom: {
    50: '#6964a6',
    500: '#1a2b81',
    950: '#000000',
  },
}
SCSS
$custom: #1a2b81;
$custom-light: #6964a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2b81",
  "rgb": {
    "r": 26,
    "g": 43,
    "b": 129
  },
  "hsl": {
    "h": 230.097,
    "s": 66.452,
    "l": 30.392
  },
  "oklch": {
    "l": 0.33847,
    "c": 0.14544,
    "h": 268.4
  },
  "luminance": 0.03532
}

Semantic roles & 50–950 ramp

primary
#1A2B81
secondary
#B5A242
accent
#CD3EE9
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1A2B81

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

Preview Lab → · Contrast checker → · Palette generator →

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