#1A2D76#1A2D76

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

Color values

HEX#1A2D76
RGBrgb(26, 45, 118)
HSLhsl(228, 64%, 28%)
HSVhsv(228, 78%, 46%)
CMYKcmyk(78%, 61.9%, 0%, 53.7%)
CIE-LABlab(21.59, 20.61, -44.02)
CIE-LCHlch(21.59, 48.61, 295.08°)
OKLaboklab(33.19% -0.0053 -0.1271)
OKLCHoklch(33.19% 0.127 267.6)
XYZxyz(4.6333, 3.4039, 17.5489)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2D76 #76631A
analogous
#1A5B76 #1A2D76 #351A76
triadic
#1A2D76 #761A2D #2D761A
tetradic
#1A2D76 #761A5B #76631A #1A7635
square
#1A2D76 #761A5B #76631A #1A7635
split-complementary
#1A2D76 #76351A #5B761A
monochromatic
#060A19 #0F1A44 #1A2D76 #2540A8 #3758D3

Accessibility & contrast

On white

12.49
#1A2D76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A2D76
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2D76#FFFFFF#000000##FFFFFF
##1A2D761.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003878
Deuteranopia (green-blind)
#003075
Tritanopia (blue-blind)
#003F4D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1a2d76;
/* rgb */ color: rgb(26, 45, 118);
/* oklch */ color: oklch(33.2% 0.127 267.6);
Tailwind
colors: {
  custom: {
    50: '#66659e',
    500: '#1a2d76',
    950: '#000000',
  },
}
SCSS
$custom: #1a2d76;
$custom-light: #66659e;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2d76",
  "rgb": {
    "r": 26,
    "g": 45,
    "b": 118
  },
  "hsl": {
    "h": 227.609,
    "s": 63.889,
    "l": 28.235
  },
  "oklch": {
    "l": 0.33191,
    "c": 0.12723,
    "h": 267.6
  },
  "luminance": 0.03404
}

Semantic roles & 50–950 ramp

primary
#1A2D76
secondary
#AB9541
accent
#C541E7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #1A2D76

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

Preview Lab → · Contrast checker → · Palette generator →

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