#1A277B#1A277B

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

Color values

HEX#1A277B
RGBrgb(26, 39, 123)
HSLhsl(232, 65%, 29%)
HSVhsv(232, 79%, 48%)
CMYKcmyk(78.9%, 68.3%, 0%, 51.8%)
CIE-LABlab(20.44, 26.78, -49.10)
CIE-LCHlch(20.44, 55.93, 298.61°)
OKLaboklab(32.48% -0.0012 -0.142)
OKLCHoklch(32.48% 0.142 269.5)
XYZxyz(4.7254, 3.1002, 19.0844)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A277B #7B6E1A
analogous
#1A587B #1A277B #3E1A7B
triadic
#1A277B #7B1A27 #277B1A
tetradic
#1A277B #7B1A58 #7B6E1A #1A7B3E
square
#1A277B #7B1A58 #7B6E1A #1A7B3E
split-complementary
#1A277B #7B3E1A #587B1A
monochromatic
#050819 #0F1748 #1A277B #2537AE #3A4FD5

Accessibility & contrast

On white

12.96
#1A277B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A277B
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A277B#FFFFFF#000000##FFFFFF
##1A277B1.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367E
Deuteranopia (green-blind)
#002D79
Tritanopia (blue-blind)
#003D4D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1a277b;
/* rgb */ color: rgb(26, 39, 123);
/* oklch */ color: oklch(32.5% 0.142 269.5);
Tailwind
colors: {
  custom: {
    50: '#6861a2',
    500: '#1a277b',
    950: '#000000',
  },
}
SCSS
$custom: #1a277b;
$custom-light: #6861a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1a277b",
  "rgb": {
    "r": 26,
    "g": 39,
    "b": 123
  },
  "hsl": {
    "h": 231.959,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32483,
    "c": 0.14206,
    "h": 269.5
  },
  "luminance": 0.03101
}

Semantic roles & 50–950 ramp

primary
#1A277B
secondary
#AFA142
accent
#D240E8
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1A277B

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

Preview Lab → · Contrast checker → · Palette generator →

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