#1A2976#1A2976

#1A2976 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.4% C 0.132 H 269.0°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#1A2976
RGBrgb(26, 41, 118)
HSLhsl(230, 64%, 28%)
HSVhsv(230, 78%, 46%)
CMYKcmyk(78%, 65.3%, 0%, 53.7%)
CIE-LABlab(20.49, 23.43, -45.83)
CIE-LCHlch(20.49, 51.47, 297.08°)
OKLaboklab(32.37% -0.0023 -0.1325)
OKLCHoklch(32.37% 0.132 269)
XYZxyz(4.4878, 3.1130, 17.5004)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2976 #76671A
analogous
#1A5776 #1A2976 #391A76
triadic
#1A2976 #761A29 #29761A
tetradic
#1A2976 #761A57 #76671A #1A7639
square
#1A2976 #761A57 #76671A #1A7639
split-complementary
#1A2976 #76391A #57761A
monochromatic
#060919 #0F1844 #1A2976 #253AA8 #3751D3

Accessibility & contrast

On white

12.94
#1A2976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1A2976 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2976
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2976#FFFFFF#000000##FFFFFF
##1A29761.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003678
Deuteranopia (green-blind)
#002D75
Tritanopia (blue-blind)
#003D4B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1a2976;
/* rgb */ color: rgb(26, 41, 118);
/* oklch */ color: oklch(32.4% 0.132 269.0);
Tailwind
colors: {
  custom: {
    50: '#66629e',
    500: '#1a2976',
    950: '#000000',
  },
}
SCSS
$custom: #1a2976;
$custom-light: #66629e;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2976",
  "rgb": {
    "r": 26,
    "g": 41,
    "b": 118
  },
  "hsl": {
    "h": 230.217,
    "s": 63.889,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32373,
    "c": 0.13247,
    "h": 269
  },
  "luminance": 0.03113
}

Semantic roles & 50–950 ramp

primary
#1A2976
secondary
#AB9941
accent
#CC41E7
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #1A2976

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

Preview Lab → · Contrast checker → · Palette generator →

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