#1A2B82#1A2B82

#1A2B82 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.9% C 0.147 H 268.4°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#1A2B82
RGBrgb(26, 43, 130)
HSLhsl(230, 67%, 31%)
HSVhsv(230, 80%, 51%)
CMYKcmyk(80%, 66.9%, 0%, 49%)
CIE-LABlab(22.15, 26.77, -50.72)
CIE-LCHlch(22.15, 57.35, 297.83°)
OKLaboklab(33.95% -0.0041 -0.1468)
OKLCHoklch(33.95% 0.147 268.4)
XYZxyz(5.3177, 3.5585, 21.5214)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2B82 #82711A
analogous
#1A5F82 #1A2B82 #3D1A82
triadic
#1A2B82 #821A2B #2B821A
tetradic
#1A2B82 #821A5F #82711A #1A823D
square
#1A2B82 #821A5F #82711A #1A823D
split-complementary
#1A2B82 #823D1A #5F821A
monochromatic
#06091C #101A4F #1A2B82 #243CB5 #3E57D8

Accessibility & contrast

On white

12.27
#1A2B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A2B82
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2B82#FFFFFF#000000##FFFFFF
##1A2B821.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A85
Deuteranopia (green-blind)
#003080
Tritanopia (blue-blind)
#004252
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1a2b82;
/* rgb */ color: rgb(26, 43, 130);
/* oklch */ color: oklch(33.9% 0.147 268.4);
Tailwind
colors: {
  custom: {
    50: '#6964a7',
    500: '#1a2b82',
    950: '#000000',
  },
}
SCSS
$custom: #1a2b82;
$custom-light: #6964a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2b82",
  "rgb": {
    "r": 26,
    "g": 43,
    "b": 130
  },
  "hsl": {
    "h": 230.192,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.33946,
    "c": 0.14682,
    "h": 268.4
  },
  "luminance": 0.03559
}

Semantic roles & 50–950 ramp

primary
#1A2B82
secondary
#B6A342
accent
#CE3EEA
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#070510
muted
#7A797F

Preview Lab

Preview with #1A2B82

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

Preview Lab → · Contrast checker → · Palette generator →

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