#1A2C78#1A2C78

#1A2C78 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.2% C 0.131 H 268.0°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#1A2C78
RGBrgb(26, 44, 120)
HSLhsl(229, 64%, 29%)
HSVhsv(229, 78%, 47%)
CMYKcmyk(78.3%, 63.3%, 0%, 52.9%)
CIE-LABlab(21.49, 22.12, -45.47)
CIE-LCHlch(21.49, 50.56, 295.94°)
OKLaboklab(33.17% -0.0045 -0.1314)
OKLCHoklch(33.17% 0.131 268)
XYZxyz(4.7157, 3.3765, 18.1689)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2C78 #78661A
analogous
#1A5B78 #1A2C78 #371A78
triadic
#1A2C78 #781A2C #2C781A
tetradic
#1A2C78 #781A5B #78661A #1A7837
square
#1A2C78 #781A5B #78661A #1A7837
split-complementary
#1A2C78 #78371A #5B781A
monochromatic
#050919 #0F1A46 #1A2C78 #253EAA #3856D4

Accessibility & contrast

On white

12.53
#1A2C78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1A2C78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2C78
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2C78#FFFFFF#000000##FFFFFF
##1A2C781.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387A
Deuteranopia (green-blind)
#002F77
Tritanopia (blue-blind)
#003F4D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1a2c78;
/* rgb */ color: rgb(26, 44, 120);
/* oklch */ color: oklch(33.2% 0.131 268.0);
Tailwind
colors: {
  custom: {
    50: '#6664a0',
    500: '#1a2c78',
    950: '#000000',
  },
}
SCSS
$custom: #1a2c78;
$custom-light: #6664a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2c78",
  "rgb": {
    "r": 26,
    "g": 44,
    "b": 120
  },
  "hsl": {
    "h": 228.511,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.33172,
    "c": 0.13144,
    "h": 268
  },
  "luminance": 0.03377
}

Semantic roles & 50–950 ramp

primary
#1A2C78
secondary
#AC9841
accent
#C740E7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050F
muted
#7A7A7E

Preview Lab

Preview with #1A2C78

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

Preview Lab → · Contrast checker → · Palette generator →

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