#1A2B72#1A2B72

#1A2B72 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.4% C 0.124 H 268.3°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#1A2B72
RGBrgb(26, 43, 114)
HSLhsl(228, 63%, 27%)
HSVhsv(228, 77%, 45%)
CMYKcmyk(77.2%, 62.3%, 0%, 55.3%)
CIE-LABlab(20.68, 20.42, -42.95)
CIE-LCHlch(20.68, 47.55, 295.42°)
OKLaboklab(32.4% -0.0038 -0.124)
OKLCHoklch(32.4% 0.124 268.3)
XYZxyz(4.3261, 3.1618, 16.2986)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2B72 #72611A
analogous
#1A5772 #1A2B72 #351A72
triadic
#1A2B72 #721A2B #2B721A
tetradic
#1A2B72 #721A57 #72611A #1A7235
square
#1A2B72 #721A57 #72611A #1A7235
split-complementary
#1A2B72 #72351A #57721A
monochromatic
#060919 #0F1840 #1A2B72 #253EA4 #3553D1

Accessibility & contrast

On white

12.86
#1A2B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#1A2B72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2B72
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2B72#FFFFFF#000000##FFFFFF
##1A2B721.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a2b72;
/* rgb */ color: rgb(26, 43, 114);
/* oklch */ color: oklch(32.4% 0.124 268.3);
Tailwind
colors: {
  custom: {
    50: '#65649b',
    500: '#1a2b72',
    950: '#000000',
  },
}
SCSS
$custom: #1a2b72;
$custom-light: #65649b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2b72",
  "rgb": {
    "r": 26,
    "g": 43,
    "b": 114
  },
  "hsl": {
    "h": 228.409,
    "s": 62.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.32402,
    "c": 0.12405,
    "h": 268.3
  },
  "luminance": 0.03162
}

Semantic roles & 50–950 ramp

primary
#1A2B72
secondary
#A79341
accent
#C642E6
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #1A2B72

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

Preview Lab → · Contrast checker → · Palette generator →

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