#1A298E#1A298E

#1A298E is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.8% C 0.165 H 268.6°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#1A298E
RGBrgb(26, 41, 142)
HSLhsl(232, 69%, 33%)
HSVhsv(232, 82%, 56%)
CMYKcmyk(81.7%, 71.1%, 0%, 44.3%)
CIE-LABlab(22.85, 32.71, -57.07)
CIE-LCHlch(22.85, 65.78, 299.82°)
OKLaboklab(34.82% -0.0039 -0.1653)
OKLCHoklch(34.82% 0.165 268.6)
XYZxyz(6.0997, 3.7578, 25.9898)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A298E #8E7F1A
analogous
#1A638E #1A298E #451A8E
triadic
#1A298E #8E1A29 #298E1A
tetradic
#1A298E #8E1A63 #8E7F1A #1A8E45
square
#1A298E #8E1A63 #8E7F1A #1A8E45
split-complementary
#1A298E #8E451A #638E1A
monochromatic
#070B27 #111A5A #1A298E #2338C2 #4559DD

Accessibility & contrast

On white

11.99
#1A298E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1A298E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A298E
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A298E#FFFFFF#000000##FFFFFF
##1A298E1.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C91
Deuteranopia (green-blind)
#00318C
Tritanopia (blue-blind)
#004558
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1a298e;
/* rgb */ color: rgb(26, 41, 142);
/* oklch */ color: oklch(34.8% 0.165 268.6);
Tailwind
colors: {
  custom: {
    50: '#6d63b0',
    500: '#1a298e',
    950: '#000000',
  },
}
SCSS
$custom: #1a298e;
$custom-light: #6d63b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1a298e",
  "rgb": {
    "r": 26,
    "g": 41,
    "b": 142
  },
  "hsl": {
    "h": 232.241,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34819,
    "c": 0.16538,
    "h": 268.6
  },
  "luminance": 0.03758
}

Semantic roles & 50–950 ramp

primary
#1A298E
secondary
#BEAF45
accent
#D53CEC
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#080511
muted
#7B7980

Preview Lab

Preview with #1A298E

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

Preview Lab → · Contrast checker → · Palette generator →

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