#1A2C72#1A2C72

#1A2C72 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.6% C 0.123 H 267.9°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#1A2C72
RGBrgb(26, 44, 114)
HSLhsl(228, 63%, 27%)
HSVhsv(228, 77%, 45%)
CMYKcmyk(77.2%, 61.4%, 0%, 55.3%)
CIE-LABlab(20.96, 19.70, -42.49)
CIE-LCHlch(20.96, 46.84, 294.88°)
OKLaboklab(32.61% -0.0046 -0.1226)
OKLCHoklch(32.61% 0.123 267.9)
XYZxyz(4.3629, 3.2354, 16.3109)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2C72 #72601A
analogous
#1A5872 #1A2C72 #341A72
triadic
#1A2C72 #721A2C #2C721A
tetradic
#1A2C72 #721A58 #72601A #1A7234
square
#1A2C72 #721A58 #72601A #1A7234
split-complementary
#1A2C72 #72341A #58721A
monochromatic
#060A19 #0F1940 #1A2C72 #253FA4 #3555D1

Accessibility & contrast

On white

12.75
#1A2C72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#1A2C72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2C72
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2C72#FFFFFF#000000##FFFFFF
##1A2C721.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003774
Deuteranopia (green-blind)
#002E71
Tritanopia (blue-blind)
#003E4A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1a2c72;
/* rgb */ color: rgb(26, 44, 114);
/* oklch */ color: oklch(32.6% 0.123 267.9);
Tailwind
colors: {
  custom: {
    50: '#65649b',
    500: '#1a2c72',
    950: '#000000',
  },
}
SCSS
$custom: #1a2c72;
$custom-light: #65649b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2c72",
  "rgb": {
    "r": 26,
    "g": 44,
    "b": 114
  },
  "hsl": {
    "h": 227.727,
    "s": 62.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.32612,
    "c": 0.12272,
    "h": 267.9
  },
  "luminance": 0.03236
}

Semantic roles & 50–950 ramp

primary
#1A2C72
secondary
#A79241
accent
#C442E6
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #1A2C72

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

Preview Lab → · Contrast checker → · Palette generator →

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