#1A2C76#1A2C76

#1A2C76 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.0% C 0.129 H 268.0°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#1A2C76
RGBrgb(26, 44, 118)
HSLhsl(228, 64%, 28%)
HSVhsv(228, 78%, 46%)
CMYKcmyk(78%, 62.7%, 0%, 53.7%)
CIE-LABlab(21.31, 21.32, -44.48)
CIE-LCHlch(21.31, 49.32, 295.61°)
OKLaboklab(32.98% -0.0045 -0.1285)
OKLCHoklch(32.98% 0.129 268)
XYZxyz(4.5956, 3.3285, 17.5363)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2C76 #76641A
analogous
#1A5A76 #1A2C76 #361A76
triadic
#1A2C76 #761A2C #2C761A
tetradic
#1A2C76 #761A5A #76641A #1A7636
square
#1A2C76 #761A5A #76641A #1A7636
split-complementary
#1A2C76 #76361A #5A761A
monochromatic
#060919 #0F1944 #1A2C76 #253FA8 #3756D3

Accessibility & contrast

On white

12.61
#1A2C76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#1A2C76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2C76
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2C76#FFFFFF#000000##FFFFFF
##1A2C761.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003878
Deuteranopia (green-blind)
#002F75
Tritanopia (blue-blind)
#003F4C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1a2c76;
/* rgb */ color: rgb(26, 44, 118);
/* oklch */ color: oklch(33.0% 0.129 268.0);
Tailwind
colors: {
  custom: {
    50: '#66649e',
    500: '#1a2c76',
    950: '#000000',
  },
}
SCSS
$custom: #1a2c76;
$custom-light: #66649e;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2c76",
  "rgb": {
    "r": 26,
    "g": 44,
    "b": 118
  },
  "hsl": {
    "h": 228.261,
    "s": 63.889,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32983,
    "c": 0.12855,
    "h": 268
  },
  "luminance": 0.03329
}

Semantic roles & 50–950 ramp

primary
#1A2C76
secondary
#AB9641
accent
#C641E7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #1A2C76

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

Preview Lab → · Contrast checker → · Palette generator →

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