#1A2C79#1A2C79

#1A2C79 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.3% C 0.133 H 268.1°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#1A2C79
RGBrgb(26, 44, 121)
HSLhsl(229, 65%, 29%)
HSVhsv(229, 79%, 47%)
CMYKcmyk(78.5%, 63.6%, 0%, 52.5%)
CIE-LABlab(21.58, 22.52, -45.96)
CIE-LCHlch(21.58, 51.18, 296.11°)
OKLaboklab(33.27% -0.0045 -0.1328)
OKLCHoklch(33.27% 0.133 268.1)
XYZxyz(4.7767, 3.4009, 18.4902)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2C79 #79671A
analogous
#1A5C79 #1A2C79 #381A79
triadic
#1A2C79 #791A2C #2C791A
tetradic
#1A2C79 #791A5C #79671A #1A7938
square
#1A2C79 #791A5C #79671A #1A7938
split-complementary
#1A2C79 #79381A #5C791A
monochromatic
#050919 #0F1A47 #1A2C79 #253EAB #3956D4

Accessibility & contrast

On white

12.50
#1A2C79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A2C79
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2C79#FFFFFF#000000##FFFFFF
##1A2C791.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387C
Deuteranopia (green-blind)
#002F78
Tritanopia (blue-blind)
#00404E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1a2c79;
/* rgb */ color: rgb(26, 44, 121);
/* oklch */ color: oklch(33.3% 0.133 268.1);
Tailwind
colors: {
  custom: {
    50: '#6764a0',
    500: '#1a2c79',
    950: '#000000',
  },
}
SCSS
$custom: #1a2c79;
$custom-light: #6764a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2c79",
  "rgb": {
    "r": 26,
    "g": 44,
    "b": 121
  },
  "hsl": {
    "h": 228.632,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33266,
    "c": 0.13288,
    "h": 268.1
  },
  "luminance": 0.03401
}

Semantic roles & 50–950 ramp

primary
#1A2C79
secondary
#AD9941
accent
#C840E8
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #1A2C79

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

Preview Lab → · Contrast checker → · Palette generator →

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