#1A2571#1A2571

#1A2571 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.1% C 0.130 H 270.3°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#1A2571
RGBrgb(26, 37, 113)
HSLhsl(232, 63%, 27%)
HSVhsv(232, 77%, 44%)
CMYKcmyk(77%, 67.3%, 0%, 55.7%)
CIE-LABlab(18.95, 24.25, -45.14)
CIE-LCHlch(18.95, 51.24, 298.25°)
OKLaboklab(31.09% 0.0007 -0.1305)
OKLCHoklch(31.09% 0.13 270.3)
XYZxyz(4.0672, 2.7346, 15.9331)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2571 #71661A
analogous
#1A5171 #1A2571 #3B1A71
triadic
#1A2571 #711A25 #25711A
tetradic
#1A2571 #711A51 #71661A #1A713B
square
#1A2571 #711A51 #71661A #1A713B
split-complementary
#1A2571 #713B1A #51711A
monochromatic
#060819 #0F153F #1A2571 #2535A3 #3549D0

Accessibility & contrast

On white

13.57
#1A2571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1A2571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2571
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2571#FFFFFF#000000##FFFFFF
##1A25711.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003273
Deuteranopia (green-blind)
#002A70
Tritanopia (blue-blind)
#003947
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1a2571;
/* rgb */ color: rgb(26, 37, 113);
/* oklch */ color: oklch(31.1% 0.130 270.3);
Tailwind
colors: {
  custom: {
    50: '#655f9b',
    500: '#1a2571',
    950: '#000000',
  },
}
SCSS
$custom: #1a2571;
$custom-light: #655f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2571",
  "rgb": {
    "r": 26,
    "g": 37,
    "b": 113
  },
  "hsl": {
    "h": 232.414,
    "s": 62.59,
    "l": 27.255
  },
  "oklch": {
    "l": 0.31092,
    "c": 0.13047,
    "h": 270.3
  },
  "luminance": 0.02735
}

Semantic roles & 50–950 ramp

primary
#1A2571
secondary
#A69941
accent
#D142E6
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #1A2571

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

Preview Lab → · Contrast checker → · Palette generator →

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