#1A2471#1A2471

#1A2471 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 30.9% C 0.132 H 270.6°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#1A2471
RGBrgb(26, 36, 113)
HSLhsl(233, 63%, 27%)
HSVhsv(233, 77%, 44%)
CMYKcmyk(77%, 68.1%, 0%, 55.7%)
CIE-LABlab(18.68, 24.94, -45.57)
CIE-LCHlch(18.68, 51.95, 298.69°)
OKLaboklab(30.9% 0.0014 -0.1317)
OKLCHoklch(30.9% 0.132 270.6)
XYZxyz(4.0365, 2.6732, 15.9228)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2471 #71671A
analogous
#1A5071 #1A2471 #3B1A71
triadic
#1A2471 #711A24 #24711A
tetradic
#1A2471 #711A50 #71671A #1A713B
square
#1A2471 #711A50 #71671A #1A713B
split-complementary
#1A2471 #713B1A #50711A
monochromatic
#060819 #0F143F #1A2471 #2534A3 #3547D0

Accessibility & contrast

On white

13.68
#1A2471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#1A2471 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2471
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2471#FFFFFF#000000##FFFFFF
##1A24711.0013.681.5313.68
#FFFFFF13.681.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003273
Deuteranopia (green-blind)
#002970
Tritanopia (blue-blind)
#003847
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1a2471;
/* rgb */ color: rgb(26, 36, 113);
/* oklch */ color: oklch(30.9% 0.132 270.6);
Tailwind
colors: {
  custom: {
    50: '#655e9b',
    500: '#1a2471',
    950: '#000000',
  },
}
SCSS
$custom: #1a2471;
$custom-light: #655e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2471",
  "rgb": {
    "r": 26,
    "g": 36,
    "b": 113
  },
  "hsl": {
    "h": 233.103,
    "s": 62.59,
    "l": 27.255
  },
  "oklch": {
    "l": 0.30899,
    "c": 0.13176,
    "h": 270.6
  },
  "luminance": 0.02674
}

Semantic roles & 50–950 ramp

primary
#1A2471
secondary
#A69A41
accent
#D342E6
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #1A2471

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

Preview Lab → · Contrast checker → · Palette generator →

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