#1A2A71#1A2A71

#1A2A71 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.1% C 0.124 H 268.6°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#1A2A71
RGBrgb(26, 42, 113)
HSLhsl(229, 63%, 27%)
HSVhsv(229, 77%, 44%)
CMYKcmyk(77%, 62.8%, 0%, 55.7%)
CIE-LABlab(20.31, 20.72, -42.91)
CIE-LCHlch(20.31, 47.65, 295.78°)
OKLaboklab(32.1% -0.003 -0.1239)
OKLCHoklch(32.1% 0.124 268.6)
XYZxyz(4.2336, 3.0673, 15.9885)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2A71 #71611A
analogous
#1A5571 #1A2A71 #361A71
triadic
#1A2A71 #711A2A #2A711A
tetradic
#1A2A71 #711A55 #71611A #1A7136
square
#1A2A71 #711A55 #71611A #1A7136
split-complementary
#1A2A71 #71361A #55711A
monochromatic
#060919 #0F183F #1A2A71 #253CA3 #3552D0

Accessibility & contrast

On white

13.01
#1A2A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1A2A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2A71
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2A71#FFFFFF#000000##FFFFFF
##1A2A711.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003573
Deuteranopia (green-blind)
#002D70
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1a2a71;
/* rgb */ color: rgb(26, 42, 113);
/* oklch */ color: oklch(32.1% 0.124 268.6);
Tailwind
colors: {
  custom: {
    50: '#65639a',
    500: '#1a2a71',
    950: '#000000',
  },
}
SCSS
$custom: #1a2a71;
$custom-light: #65639a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2a71",
  "rgb": {
    "r": 26,
    "g": 42,
    "b": 113
  },
  "hsl": {
    "h": 228.966,
    "s": 62.59,
    "l": 27.255
  },
  "oklch": {
    "l": 0.321,
    "c": 0.12392,
    "h": 268.6
  },
  "luminance": 0.03068
}

Semantic roles & 50–950 ramp

primary
#1A2A71
secondary
#A69341
accent
#C842E6
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #1A2A71

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

Preview Lab → · Contrast checker → · Palette generator →

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