#1A2190#1A2190

#1A2190 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.8% C 0.176 H 269.7°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#1A2190
RGBrgb(26, 33, 144)
HSLhsl(236, 69%, 33%)
HSVhsv(236, 82%, 56%)
CMYKcmyk(81.9%, 77.1%, 0%, 43.5%)
CIE-LABlab(21.28, 38.41, -60.91)
CIE-LCHlch(21.28, 72.01, 302.23°)
OKLaboklab(33.76% -0.001 -0.1764)
OKLCHoklch(33.76% 0.176 269.7)
XYZxyz(6.0022, 3.3202, 26.7047)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2190 #90891A
analogous
#1A5C90 #1A2190 #4E1A90
triadic
#1A2190 #901A21 #21901A
tetradic
#1A2190 #901A5C #90891A #1A904E
square
#1A2190 #901A5C #90891A #1A904E
split-complementary
#1A2190 #904E1A #5C901A
monochromatic
#070928 #11155C #1A2190 #232DC4 #4750DE

Accessibility & contrast

On white

12.62
#1A2190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A2190
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2190#FFFFFF#000000##FFFFFF
##1A21901.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003993
Deuteranopia (green-blind)
#002D8E
Tritanopia (blue-blind)
#004257
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1a2190;
/* rgb */ color: rgb(26, 33, 144);
/* oklch */ color: oklch(33.8% 0.176 269.7);
Tailwind
colors: {
  custom: {
    50: '#6e5eb2',
    500: '#1a2190',
    950: '#000000',
  },
}
SCSS
$custom: #1a2190;
$custom-light: #6e5eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2190",
  "rgb": {
    "r": 26,
    "g": 33,
    "b": 144
  },
  "hsl": {
    "h": 236.441,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.33759,
    "c": 0.17645,
    "h": 269.7
  },
  "luminance": 0.03321
}

Semantic roles & 50–950 ramp

primary
#1A2190
secondary
#BFB847
accent
#E23CEC
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1A2190

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

Preview Lab → · Contrast checker → · Palette generator →

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