#1A2572#1A2572

#1A2572 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.2% C 0.132 H 270.3°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#1A2572
RGBrgb(26, 37, 114)
HSLhsl(233, 63%, 27%)
HSVhsv(233, 77%, 45%)
CMYKcmyk(77.2%, 67.5%, 0%, 55.3%)
CIE-LABlab(19.04, 24.64, -45.63)
CIE-LCHlch(19.04, 51.85, 298.37°)
OKLaboklab(31.19% 0.0006 -0.1319)
OKLCHoklch(31.19% 0.132 270.3)
XYZxyz(4.1238, 2.7572, 16.2312)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2572 #72671A
analogous
#1A5172 #1A2572 #3B1A72
triadic
#1A2572 #721A25 #25721A
tetradic
#1A2572 #721A51 #72671A #1A723B
square
#1A2572 #721A51 #72671A #1A723B
split-complementary
#1A2572 #723B1A #51721A
monochromatic
#060819 #0F1540 #1A2572 #2535A4 #3549D1

Accessibility & contrast

On white

13.53
#1A2572 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A2572
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2572#FFFFFF#000000##FFFFFF
##1A25721.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003274
Deuteranopia (green-blind)
#002A71
Tritanopia (blue-blind)
#003948
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1a2572;
/* rgb */ color: rgb(26, 37, 114);
/* oklch */ color: oklch(31.2% 0.132 270.3);
Tailwind
colors: {
  custom: {
    50: '#655f9b',
    500: '#1a2572',
    950: '#000000',
  },
}
SCSS
$custom: #1a2572;
$custom-light: #655f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2572",
  "rgb": {
    "r": 26,
    "g": 37,
    "b": 114
  },
  "hsl": {
    "h": 232.5,
    "s": 62.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.31192,
    "c": 0.1319,
    "h": 270.3
  },
  "luminance": 0.02758
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A2572

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

Preview Lab → · Contrast checker → · Palette generator →

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