#1A2188#1A2188

#1A2188 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.8% C 0.166 H 270.1°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#1A2188
RGBrgb(26, 33, 136)
HSLhsl(236, 68%, 32%)
HSVhsv(236, 81%, 53%)
CMYKcmyk(80.9%, 75.7%, 0%, 46.7%)
CIE-LABlab(20.38, 35.56, -57.41)
CIE-LCHlch(20.38, 67.53, 301.77°)
OKLaboklab(32.85% 0.0003 -0.1663)
OKLCHoklch(32.85% 0.166 270.1)
XYZxyz(5.4123, 3.0843, 23.5979)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2188 #88811A
analogous
#1A5888 #1A2188 #4A1A88
triadic
#1A2188 #881A21 #21881A
tetradic
#1A2188 #881A58 #88811A #1A884A
square
#1A2188 #881A58 #88811A #1A884A
split-complementary
#1A2188 #884A1A #58881A
monochromatic
#060821 #101555 #1A2188 #242DBB #424BDB

Accessibility & contrast

On white

12.99
#1A2188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1A2188 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2188
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2188#FFFFFF#000000##FFFFFF
##1A21881.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378B
Deuteranopia (green-blind)
#002C86
Tritanopia (blue-blind)
#003F52
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1a2188;
/* rgb */ color: rgb(26, 33, 136);
/* oklch */ color: oklch(32.8% 0.166 270.1);
Tailwind
colors: {
  custom: {
    50: '#6c5dac',
    500: '#1a2188',
    950: '#000000',
  },
}
SCSS
$custom: #1a2188;
$custom-light: #6c5dac;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2188",
  "rgb": {
    "r": 26,
    "g": 33,
    "b": 136
  },
  "hsl": {
    "h": 236.182,
    "s": 67.901,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32848,
    "c": 0.16629,
    "h": 270.1
  },
  "luminance": 0.03085
}

Semantic roles & 50–950 ramp

primary
#1A2188
secondary
#BBB443
accent
#E03DEB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1A2188

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

Preview Lab → · Contrast checker → · Palette generator →

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