#1A2580#1A2580

#1A2580 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.6% C 0.151 H 269.8°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#1A2580
RGBrgb(26, 37, 128)
HSLhsl(234, 66%, 30%)
HSVhsv(234, 80%, 50%)
CMYKcmyk(79.7%, 71.1%, 0%, 49.8%)
CIE-LABlab(20.44, 30.05, -52.27)
CIE-LCHlch(20.44, 60.29, 299.89°)
OKLaboklab(32.64% -0.0005 -0.1513)
OKLCHoklch(32.64% 0.151 269.8)
XYZxyz(4.9825, 3.1007, 20.7538)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2580 #80751A
analogous
#1A5880 #1A2580 #421A80
triadic
#1A2580 #801A25 #25801A
tetradic
#1A2580 #801A58 #80751A #1A8042
square
#1A2580 #801A58 #80751A #1A8042
split-complementary
#1A2580 #80421A #58801A
monochromatic
#05081A #10164D #1A2580 #2434B3 #3D4ED8

Accessibility & contrast

On white

12.96
#1A2580 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1A2580 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2580
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2580#FFFFFF#000000##FFFFFF
##1A25801.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003683
Deuteranopia (green-blind)
#002C7E
Tritanopia (blue-blind)
#003E4F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1a2580;
/* rgb */ color: rgb(26, 37, 128);
/* oklch */ color: oklch(32.6% 0.151 269.8);
Tailwind
colors: {
  custom: {
    50: '#6960a6',
    500: '#1a2580',
    950: '#000000',
  },
}
SCSS
$custom: #1a2580;
$custom-light: #6960a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2580",
  "rgb": {
    "r": 26,
    "g": 37,
    "b": 128
  },
  "hsl": {
    "h": 233.529,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.32638,
    "c": 0.15132,
    "h": 269.8
  },
  "luminance": 0.03101
}

Semantic roles & 50–950 ramp

primary
#1A2580
secondary
#B4A842
accent
#D73FE9
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1A2580

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

Preview Lab → · Contrast checker → · Palette generator →

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