#1A2C71#1A2C71

#1A2C71 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.5% C 0.121 H 267.8°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#1A2C71
RGBrgb(26, 44, 113)
HSLhsl(228, 63%, 27%)
HSVhsv(228, 77%, 44%)
CMYKcmyk(77%, 61.1%, 0%, 55.7%)
CIE-LABlab(20.88, 19.30, -41.99)
CIE-LCHlch(20.88, 46.21, 294.68°)
OKLaboklab(32.52% -0.0046 -0.1211)
OKLCHoklch(32.52% 0.121 267.8)
XYZxyz(4.3063, 3.2128, 16.0128)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2C71 #715F1A
analogous
#1A5871 #1A2C71 #331A71
triadic
#1A2C71 #711A2C #2C711A
tetradic
#1A2C71 #711A58 #715F1A #1A7133
square
#1A2C71 #711A58 #715F1A #1A7133
split-complementary
#1A2C71 #71331A #58711A
monochromatic
#060A19 #0F193F #1A2C71 #253FA3 #3555D0

Accessibility & contrast

On white

12.78
#1A2C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1A2C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2C71
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2C71#FFFFFF#000000##FFFFFF
##1A2C711.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a2c71;
/* rgb */ color: rgb(26, 44, 113);
/* oklch */ color: oklch(32.5% 0.121 267.8);
Tailwind
colors: {
  custom: {
    50: '#65649a',
    500: '#1a2c71',
    950: '#000000',
  },
}
SCSS
$custom: #1a2c71;
$custom-light: #65649a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2c71",
  "rgb": {
    "r": 26,
    "g": 44,
    "b": 113
  },
  "hsl": {
    "h": 227.586,
    "s": 62.59,
    "l": 27.255
  },
  "oklch": {
    "l": 0.32521,
    "c": 0.12124,
    "h": 267.8
  },
  "luminance": 0.03213
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A2C71

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

Preview Lab → · Contrast checker → · Palette generator →

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