#1A2671#1A2671

#1A2671 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.3% C 0.129 H 270.0°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#1A2671
RGBrgb(26, 38, 113)
HSLhsl(232, 63%, 27%)
HSVhsv(232, 77%, 44%)
CMYKcmyk(77%, 66.4%, 0%, 55.7%)
CIE-LABlab(19.21, 23.55, -44.70)
CIE-LCHlch(19.21, 50.52, 297.78°)
OKLaboklab(31.29% 0 -0.1292)
OKLCHoklch(31.29% 0.129 270)
XYZxyz(4.0987, 2.7977, 15.9436)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2671 #71651A
analogous
#1A5271 #1A2671 #391A71
triadic
#1A2671 #711A26 #26711A
tetradic
#1A2671 #711A52 #71651A #1A7139
square
#1A2671 #711A52 #71651A #1A7139
split-complementary
#1A2671 #71391A #52711A
monochromatic
#060819 #0F153F #1A2671 #2537A3 #354AD0

Accessibility & contrast

On white

13.46
#1A2671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1A2671 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2671
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2671#FFFFFF#000000##FFFFFF
##1A26711.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003373
Deuteranopia (green-blind)
#002B70
Tritanopia (blue-blind)
#003947
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1a2671;
/* rgb */ color: rgb(26, 38, 113);
/* oklch */ color: oklch(31.3% 0.129 270.0);
Tailwind
colors: {
  custom: {
    50: '#65609b',
    500: '#1a2671',
    950: '#000000',
  },
}
SCSS
$custom: #1a2671;
$custom-light: #65609b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2671",
  "rgb": {
    "r": 26,
    "g": 38,
    "b": 113
  },
  "hsl": {
    "h": 231.724,
    "s": 62.59,
    "l": 27.255
  },
  "oklch": {
    "l": 0.31288,
    "c": 0.12919,
    "h": 270
  },
  "luminance": 0.02798
}

Semantic roles & 50–950 ramp

primary
#1A2671
secondary
#A69841
accent
#CF42E6
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #1A2671

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

Preview Lab → · Contrast checker → · Palette generator →

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