#1A298F#1A298F

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

Color values

HEX#1A298F
RGBrgb(26, 41, 143)
HSLhsl(232, 69%, 33%)
HSVhsv(232, 82%, 56%)
CMYKcmyk(81.8%, 71.3%, 0%, 43.9%)
CIE-LABlab(22.96, 33.09, -57.52)
CIE-LCHlch(22.96, 66.36, 299.91°)
OKLaboklab(34.93% -0.004 -0.1666)
OKLCHoklch(34.93% 0.167 268.6)
XYZxyz(6.1752, 3.7879, 26.3870)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A298F #8F801A
analogous
#1A638F #1A298F #461A8F
triadic
#1A298F #8F1A29 #298F1A
tetradic
#1A298F #8F1A63 #8F801A #1A8F46
square
#1A298F #8F1A63 #8F801A #1A8F46
split-complementary
#1A298F #8F461A #638F1A
monochromatic
#070B27 #111A5B #1A298F #2338C3 #4659DD

Accessibility & contrast

On white

11.95
#1A298F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#1A298F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A298F
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A298F#FFFFFF#000000##FFFFFF
##1A298F1.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C92
Deuteranopia (green-blind)
#00318D
Tritanopia (blue-blind)
#004559
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1a298f;
/* rgb */ color: rgb(26, 41, 143);
/* oklch */ color: oklch(34.9% 0.167 268.6);
Tailwind
colors: {
  custom: {
    50: '#6d63b1',
    500: '#1a298f',
    950: '#000000',
  },
}
SCSS
$custom: #1a298f;
$custom-light: #6d63b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1a298f",
  "rgb": {
    "r": 26,
    "g": 41,
    "b": 143
  },
  "hsl": {
    "h": 232.308,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.34926,
    "c": 0.16669,
    "h": 268.6
  },
  "luminance": 0.03789
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A298F

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

Preview Lab → · Contrast checker → · Palette generator →

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