#1A2489#1A2489

#1A2489 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.4% C 0.164 H 269.6°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#1A2489
RGBrgb(26, 36, 137)
HSLhsl(235, 68%, 32%)
HSVhsv(235, 81%, 54%)
CMYKcmyk(81%, 73.7%, 0%, 46.3%)
CIE-LABlab(21.16, 34.06, -56.75)
CIE-LCHlch(21.16, 66.19, 300.97°)
OKLaboklab(33.44% -0.0011 -0.1644)
OKLCHoklch(33.44% 0.164 269.6)
XYZxyz(5.5707, 3.2869, 24.0029)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2489 #897F1A
analogous
#1A5B89 #1A2489 #481A89
triadic
#1A2489 #891A24 #24891A
tetradic
#1A2489 #891A5B #897F1A #1A8948
square
#1A2489 #891A5B #897F1A #1A8948
split-complementary
#1A2489 #89481A #5B891A
monochromatic
#060922 #101656 #1A2489 #2432BC #4250DB

Accessibility & contrast

On white

12.67
#1A2489 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#1A2489 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2489
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2489#FFFFFF#000000##FFFFFF
##1A24891.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388C
Deuteranopia (green-blind)
#002D87
Tritanopia (blue-blind)
#004154
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1a2489;
/* rgb */ color: rgb(26, 36, 137);
/* oklch */ color: oklch(33.4% 0.164 269.6);
Tailwind
colors: {
  custom: {
    50: '#6c5fad',
    500: '#1a2489',
    950: '#000000',
  },
}
SCSS
$custom: #1a2489;
$custom-light: #6c5fad;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2489",
  "rgb": {
    "r": 26,
    "g": 36,
    "b": 137
  },
  "hsl": {
    "h": 234.595,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.33439,
    "c": 0.16438,
    "h": 269.6
  },
  "luminance": 0.03288
}

Semantic roles & 50–950 ramp

primary
#1A2489
secondary
#BCB143
accent
#DB3DEB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1A2489

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

Preview Lab → · Contrast checker → · Palette generator →

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