#1A2A80#1A2A80

#1A2A80 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.6% C 0.145 H 268.7°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#1A2A80
RGBrgb(26, 42, 128)
HSLhsl(231, 66%, 30%)
HSVhsv(231, 80%, 50%)
CMYKcmyk(79.7%, 67.2%, 0%, 49.8%)
CIE-LABlab(21.70, 26.68, -50.20)
CIE-LCHlch(21.70, 56.85, 297.99°)
OKLaboklab(33.56% -0.0034 -0.1452)
OKLCHoklch(33.56% 0.145 268.7)
XYZxyz(5.1489, 3.4335, 20.8093)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2A80 #80701A
analogous
#1A5D80 #1A2A80 #3D1A80
triadic
#1A2A80 #801A2A #2A801A
tetradic
#1A2A80 #801A5D #80701A #1A803D
square
#1A2A80 #801A5D #80701A #1A803D
split-complementary
#1A2A80 #803D1A #5D801A
monochromatic
#05091A #10194D #1A2A80 #243BB3 #3D55D8

Accessibility & contrast

On white

12.45
#1A2A80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1A2A80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2A80
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2A80#FFFFFF#000000##FFFFFF
##1A2A801.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003983
Deuteranopia (green-blind)
#002F7E
Tritanopia (blue-blind)
#004151
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1a2a80;
/* rgb */ color: rgb(26, 42, 128);
/* oklch */ color: oklch(33.6% 0.145 268.7);
Tailwind
colors: {
  custom: {
    50: '#6963a6',
    500: '#1a2a80',
    950: '#000000',
  },
}
SCSS
$custom: #1a2a80;
$custom-light: #6963a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2a80",
  "rgb": {
    "r": 26,
    "g": 42,
    "b": 128
  },
  "hsl": {
    "h": 230.588,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33556,
    "c": 0.14529,
    "h": 268.7
  },
  "luminance": 0.03434
}

Semantic roles & 50–950 ramp

primary
#1A2A80
secondary
#B4A242
accent
#CE3FE9
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1A2A80

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

Preview Lab → · Contrast checker → · Palette generator →

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