#1A2B71#1A2B71

#1A2B71 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.3% C 0.123 H 268.2°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#1A2B71
RGBrgb(26, 43, 113)
HSLhsl(228, 63%, 27%)
HSVhsv(228, 77%, 44%)
CMYKcmyk(77%, 61.9%, 0%, 55.7%)
CIE-LABlab(20.59, 20.01, -42.45)
CIE-LCHlch(20.59, 46.93, 295.24°)
OKLaboklab(32.31% -0.0038 -0.1225)
OKLCHoklch(32.31% 0.123 268.2)
XYZxyz(4.2695, 3.1392, 16.0005)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2B71 #71601A
analogous
#1A5771 #1A2B71 #351A71
triadic
#1A2B71 #711A2B #2B711A
tetradic
#1A2B71 #711A57 #71601A #1A7135
square
#1A2B71 #711A57 #71601A #1A7135
split-complementary
#1A2B71 #71351A #57711A
monochromatic
#060919 #0F183F #1A2B71 #253EA3 #3553D0

Accessibility & contrast

On white

12.90
#1A2B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A2B71
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2B71#FFFFFF#000000##FFFFFF
##1A2B711.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003673
Deuteranopia (green-blind)
#002E70
Tritanopia (blue-blind)
#003D49
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1a2b71;
/* rgb */ color: rgb(26, 43, 113);
/* oklch */ color: oklch(32.3% 0.123 268.2);
Tailwind
colors: {
  custom: {
    50: '#65649a',
    500: '#1a2b71',
    950: '#000000',
  },
}
SCSS
$custom: #1a2b71;
$custom-light: #65649a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2b71",
  "rgb": {
    "r": 26,
    "g": 43,
    "b": 113
  },
  "hsl": {
    "h": 228.276,
    "s": 62.59,
    "l": 27.255
  },
  "oklch": {
    "l": 0.32309,
    "c": 0.12258,
    "h": 268.2
  },
  "luminance": 0.0314
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A2B71

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

Preview Lab → · Contrast checker → · Palette generator →

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