#1A2977#1A2977

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

Color values

HEX#1A2977
RGBrgb(26, 41, 119)
HSLhsl(230, 64%, 28%)
HSVhsv(230, 78%, 47%)
CMYKcmyk(78.2%, 65.5%, 0%, 53.3%)
CIE-LABlab(20.58, 23.83, -46.31)
CIE-LCHlch(20.58, 52.08, 297.23°)
OKLaboklab(32.47% -0.0024 -0.1339)
OKLCHoklch(32.47% 0.134 269)
XYZxyz(4.5476, 3.1369, 17.8150)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2977 #77681A
analogous
#1A5777 #1A2977 #391A77
triadic
#1A2977 #771A29 #29771A
tetradic
#1A2977 #771A57 #77681A #1A7739
square
#1A2977 #771A57 #77681A #1A7739
split-complementary
#1A2977 #77391A #57771A
monochromatic
#050919 #0F1845 #1A2977 #253AA9 #3851D3

Accessibility & contrast

On white

12.90
#1A2977 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#1A2977 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2977
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2977#FFFFFF#000000##FFFFFF
##1A29771.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367A
Deuteranopia (green-blind)
#002D76
Tritanopia (blue-blind)
#003D4C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1a2977;
/* rgb */ color: rgb(26, 41, 119);
/* oklch */ color: oklch(32.5% 0.134 269.0);
Tailwind
colors: {
  custom: {
    50: '#66629f',
    500: '#1a2977',
    950: '#000000',
  },
}
SCSS
$custom: #1a2977;
$custom-light: #66629f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2977",
  "rgb": {
    "r": 26,
    "g": 41,
    "b": 119
  },
  "hsl": {
    "h": 230.323,
    "s": 64.138,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32471,
    "c": 0.1339,
    "h": 269
  },
  "luminance": 0.03137
}

Semantic roles & 50–950 ramp

primary
#1A2977
secondary
#AC9A41
accent
#CC41E7
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050F
muted
#7A797E

Preview Lab

Preview with #1A2977

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

Preview Lab → · Contrast checker → · Palette generator →

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