#1A297B#1A297B

#1A297B is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.9% C 0.140 H 269.0°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#1A297B
RGBrgb(26, 41, 123)
HSLhsl(231, 65%, 29%)
HSVhsv(231, 79%, 48%)
CMYKcmyk(78.9%, 66.7%, 0%, 51.8%)
CIE-LABlab(20.96, 25.41, -48.24)
CIE-LCHlch(20.96, 54.53, 297.77°)
OKLaboklab(32.87% -0.0025 -0.1395)
OKLCHoklch(32.87% 0.14 269)
XYZxyz(4.7929, 3.2350, 19.1069)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A297B #7B6C1A
analogous
#1A5A7B #1A297B #3C1A7B
triadic
#1A297B #7B1A29 #297B1A
tetradic
#1A297B #7B1A5A #7B6C1A #1A7B3C
square
#1A297B #7B1A5A #7B6C1A #1A7B3C
split-complementary
#1A297B #7B3C1A #5A7B1A
monochromatic
#050819 #0F1848 #1A297B #253AAE #3A52D5

Accessibility & contrast

On white

12.75
#1A297B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#1A297B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A297B
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A297B#FFFFFF#000000##FFFFFF
##1A297B1.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377E
Deuteranopia (green-blind)
#002E79
Tritanopia (blue-blind)
#003F4E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1a297b;
/* rgb */ color: rgb(26, 41, 123);
/* oklch */ color: oklch(32.9% 0.140 269.0);
Tailwind
colors: {
  custom: {
    50: '#6862a2',
    500: '#1a297b',
    950: '#000000',
  },
}
SCSS
$custom: #1a297b;
$custom-light: #6862a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1a297b",
  "rgb": {
    "r": 26,
    "g": 41,
    "b": 123
  },
  "hsl": {
    "h": 230.722,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32865,
    "c": 0.13956,
    "h": 269
  },
  "luminance": 0.03236
}

Semantic roles & 50–950 ramp

primary
#1A297B
secondary
#AF9E42
accent
#CE40E8
background
#F6F5FA
surface
#EBEAF4
border
#C6C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1A297B

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

Preview Lab → · Contrast checker → · Palette generator →

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