#1A2B78#1A2B78

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

Color values

HEX#1A2B78
RGBrgb(26, 43, 120)
HSLhsl(229, 64%, 29%)
HSVhsv(229, 78%, 47%)
CMYKcmyk(78.3%, 64.2%, 0%, 52.9%)
CIE-LABlab(21.22, 22.82, -45.91)
CIE-LCHlch(21.22, 51.27, 296.43°)
OKLaboklab(32.97% -0.0038 -0.1327)
OKLCHoklch(32.97% 0.133 268.4)
XYZxyz(4.6789, 3.3029, 18.1566)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2B78 #78671A
analogous
#1A5A78 #1A2B78 #381A78
triadic
#1A2B78 #781A2B #2B781A
tetradic
#1A2B78 #781A5A #78671A #1A7838
square
#1A2B78 #781A5A #78671A #1A7838
split-complementary
#1A2B78 #78381A #5A781A
monochromatic
#050919 #0F1946 #1A2B78 #253DAA #3855D4

Accessibility & contrast

On white

12.65
#1A2B78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#1A2B78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2B78
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2B78#FFFFFF#000000##FFFFFF
##1A2B781.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377B
Deuteranopia (green-blind)
#002F77
Tritanopia (blue-blind)
#003F4D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1a2b78;
/* rgb */ color: rgb(26, 43, 120);
/* oklch */ color: oklch(33.0% 0.133 268.4);
Tailwind
colors: {
  custom: {
    50: '#6764a0',
    500: '#1a2b78',
    950: '#000000',
  },
}
SCSS
$custom: #1a2b78;
$custom-light: #6764a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2b78",
  "rgb": {
    "r": 26,
    "g": 43,
    "b": 120
  },
  "hsl": {
    "h": 229.149,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32968,
    "c": 0.13274,
    "h": 268.4
  },
  "luminance": 0.03303
}

Semantic roles & 50–950 ramp

primary
#1A2B78
secondary
#AC9941
accent
#C940E7
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050F
muted
#7A797E

Preview Lab

Preview with #1A2B78

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

Preview Lab → · Contrast checker → · Palette generator →

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