#1A2D79#1A2D79

#1A2D79 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.5% C 0.132 H 267.7°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#1A2D79
RGBrgb(26, 45, 121)
HSLhsl(228, 65%, 29%)
HSVhsv(228, 79%, 47%)
CMYKcmyk(78.5%, 62.8%, 0%, 52.5%)
CIE-LABlab(21.86, 21.82, -45.51)
CIE-LCHlch(21.86, 50.46, 295.61°)
OKLaboklab(33.47% -0.0052 -0.1315)
OKLCHoklch(33.47% 0.132 267.7)
XYZxyz(4.8144, 3.4763, 18.5027)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2D79 #79661A
analogous
#1A5D79 #1A2D79 #371A79
triadic
#1A2D79 #791A2D #2D791A
tetradic
#1A2D79 #791A5D #79661A #1A7937
square
#1A2D79 #791A5D #79661A #1A7937
split-complementary
#1A2D79 #79371A #5D791A
monochromatic
#050919 #0F1A47 #1A2D79 #2540AB #3958D4

Accessibility & contrast

On white

12.39
#1A2D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#1A2D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2D79
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2D79#FFFFFF#000000##FFFFFF
##1A2D791.0012.391.7012.39
#FFFFFF12.391.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397C
Deuteranopia (green-blind)
#003078
Tritanopia (blue-blind)
#00404E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1a2d79;
/* rgb */ color: rgb(26, 45, 121);
/* oklch */ color: oklch(33.5% 0.132 267.7);
Tailwind
colors: {
  custom: {
    50: '#6765a0',
    500: '#1a2d79',
    950: '#000000',
  },
}
SCSS
$custom: #1a2d79;
$custom-light: #6765a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2d79",
  "rgb": {
    "r": 26,
    "g": 45,
    "b": 121
  },
  "hsl": {
    "h": 228,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33471,
    "c": 0.13156,
    "h": 267.7
  },
  "luminance": 0.03477
}

Semantic roles & 50–950 ramp

primary
#1A2D79
secondary
#AD9841
accent
#C640E8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050F
muted
#7A7A7E

Preview Lab

Preview with #1A2D79

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

Preview Lab → · Contrast checker → · Palette generator →

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