#1A298C#1A298C

#1A298C is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.6% C 0.163 H 268.7°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#1A298C
RGBrgb(26, 41, 140)
HSLhsl(232, 69%, 33%)
HSVhsv(232, 81%, 55%)
CMYKcmyk(81.4%, 70.7%, 0%, 45.1%)
CIE-LABlab(22.65, 31.96, -56.17)
CIE-LCHlch(22.65, 64.62, 299.64°)
OKLaboklab(34.61% -0.0037 -0.1627)
OKLCHoklch(34.61% 0.163 268.7)
XYZxyz(5.9509, 3.6983, 25.2061)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A298C #8C7D1A
analogous
#1A628C #1A298C #441A8C
triadic
#1A298C #8C1A29 #298C1A
tetradic
#1A298C #8C1A62 #8C7D1A #1A8C44
square
#1A298C #8C1A62 #8C7D1A #1A8C44
split-complementary
#1A298C #8C441A #628C1A
monochromatic
#070B25 #101A58 #1A298C #2438C0 #4458DC

Accessibility & contrast

On white

12.07
#1A298C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#1A298C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A298C
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A298C#FFFFFF#000000##FFFFFF
##1A298C1.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8F
Deuteranopia (green-blind)
#00318A
Tritanopia (blue-blind)
#004457
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1a298c;
/* rgb */ color: rgb(26, 41, 140);
/* oklch */ color: oklch(34.6% 0.163 268.7);
Tailwind
colors: {
  custom: {
    50: '#6c63af',
    500: '#1a298c',
    950: '#000000',
  },
}
SCSS
$custom: #1a298c;
$custom-light: #6c63af;
$custom-dark: #000000;
JSON
{
  "hex": "#1a298c",
  "rgb": {
    "r": 26,
    "g": 41,
    "b": 140
  },
  "hsl": {
    "h": 232.105,
    "s": 68.675,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34608,
    "c": 0.16273,
    "h": 268.7
  },
  "luminance": 0.03699
}

Semantic roles & 50–950 ramp

primary
#1A298C
secondary
#BEAE44
accent
#D43CEC
background
#F7F5FA
surface
#EDEAF5
border
#C8C6CF
text
#080510
muted
#7B797F

Preview Lab

Preview with #1A298C

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

Preview Lab → · Contrast checker → · Palette generator →

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