#1A2C82#1A2C82

#1A2C82 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.1% C 0.146 H 268.1°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#1A2C82
RGBrgb(26, 44, 130)
HSLhsl(230, 67%, 31%)
HSVhsv(230, 80%, 51%)
CMYKcmyk(80%, 66.2%, 0%, 49%)
CIE-LABlab(22.42, 26.09, -50.29)
CIE-LCHlch(22.42, 56.65, 297.42°)
OKLaboklab(34.14% -0.0047 -0.1455)
OKLCHoklch(34.14% 0.146 268.1)
XYZxyz(5.3546, 3.6321, 21.5336)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2C82 #82701A
analogous
#1A6082 #1A2C82 #3C1A82
triadic
#1A2C82 #821A2C #2C821A
tetradic
#1A2C82 #821A60 #82701A #1A823C
square
#1A2C82 #821A60 #82701A #1A823C
split-complementary
#1A2C82 #823C1A #60821A
monochromatic
#06091C #101B4F #1A2C82 #243DB5 #3E59D8

Accessibility & contrast

On white

12.16
#1A2C82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#1A2C82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2C82
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2C82#FFFFFF#000000##FFFFFF
##1A2C821.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B85
Deuteranopia (green-blind)
#003180
Tritanopia (blue-blind)
#004352
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1a2c82;
/* rgb */ color: rgb(26, 44, 130);
/* oklch */ color: oklch(34.1% 0.146 268.1);
Tailwind
colors: {
  custom: {
    50: '#6965a7',
    500: '#1a2c82',
    950: '#000000',
  },
}
SCSS
$custom: #1a2c82;
$custom-light: #6965a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2c82",
  "rgb": {
    "r": 26,
    "g": 44,
    "b": 130
  },
  "hsl": {
    "h": 229.615,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.34138,
    "c": 0.14558,
    "h": 268.1
  },
  "luminance": 0.03633
}

Semantic roles & 50–950 ramp

primary
#1A2C82
secondary
#B6A242
accent
#CC3EEA
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070510
muted
#7A7A7F

Preview Lab

Preview with #1A2C82

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

Preview Lab → · Contrast checker → · Palette generator →

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