#1A2071#1A2071

#1A2071 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.2% C 0.137 H 271.7°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#1A2071
RGBrgb(26, 32, 113)
HSLhsl(236, 63%, 27%)
HSVhsv(236, 77%, 44%)
CMYKcmyk(77%, 71.7%, 0%, 55.7%)
CIE-LABlab(17.67, 27.67, -47.24)
CIE-LCHlch(17.67, 54.75, 300.36°)
OKLaboklab(30.16% 0.004 -0.1366)
OKLCHoklch(30.16% 0.137 271.7)
XYZxyz(3.9221, 2.4445, 15.8847)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2071 #716B1A
analogous
#1A4C71 #1A2071 #401A71
triadic
#1A2071 #711A20 #20711A
tetradic
#1A2071 #711A4C #716B1A #1A7140
square
#1A2071 #711A4C #716B1A #1A7140
split-complementary
#1A2071 #71401A #4C711A
monochromatic
#060719 #0F123F #1A2071 #252EA3 #3540D0

Accessibility & contrast

On white

14.10
#1A2071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#1A2071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2071
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2071#FFFFFF#000000##FFFFFF
##1A20711.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F73
Deuteranopia (green-blind)
#002770
Tritanopia (blue-blind)
#003645
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1a2071;
/* rgb */ color: rgb(26, 32, 113);
/* oklch */ color: oklch(30.2% 0.137 271.7);
Tailwind
colors: {
  custom: {
    50: '#665c9b',
    500: '#1a2071',
    950: '#000000',
  },
}
SCSS
$custom: #1a2071;
$custom-light: #665c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2071",
  "rgb": {
    "r": 26,
    "g": 32,
    "b": 113
  },
  "hsl": {
    "h": 235.862,
    "s": 62.59,
    "l": 27.255
  },
  "oklch": {
    "l": 0.30158,
    "c": 0.13671,
    "h": 271.7
  },
  "luminance": 0.02445
}

Semantic roles & 50–950 ramp

primary
#1A2071
secondary
#A69F41
accent
#DA42E6
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1A2071

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

Preview Lab → · Contrast checker → · Palette generator →

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