#1A2183#1A2183

#1A2183 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.3% C 0.160 H 270.4°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#1A2183
RGBrgb(26, 33, 131)
HSLhsl(236, 67%, 31%)
HSVhsv(236, 80%, 51%)
CMYKcmyk(80.2%, 74.8%, 0%, 48.6%)
CIE-LABlab(19.82, 33.74, -55.18)
CIE-LCHlch(19.82, 64.68, 301.44°)
OKLaboklab(32.29% 0.0011 -0.1598)
OKLCHoklch(32.29% 0.16 270.4)
XYZxyz(5.0652, 2.9455, 21.7699)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2183 #837C1A
analogous
#1A5583 #1A2183 #471A83
triadic
#1A2183 #831A21 #21831A
tetradic
#1A2183 #831A55 #837C1A #1A8347
square
#1A2183 #831A55 #837C1A #1A8347
split-complementary
#1A2183 #83471A #55831A
monochromatic
#06071D #101450 #1A2183 #242EB6 #3F49D9

Accessibility & contrast

On white

13.21
#1A2183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1A2183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2183
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2183#FFFFFF#000000##FFFFFF
##1A21831.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003586
Deuteranopia (green-blind)
#002B81
Tritanopia (blue-blind)
#003D50
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1a2183;
/* rgb */ color: rgb(26, 33, 131);
/* oklch */ color: oklch(32.3% 0.160 270.4);
Tailwind
colors: {
  custom: {
    50: '#6b5da8',
    500: '#1a2183',
    950: '#000000',
  },
}
SCSS
$custom: #1a2183;
$custom-light: #6b5da8;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2183",
  "rgb": {
    "r": 26,
    "g": 33,
    "b": 131
  },
  "hsl": {
    "h": 236,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.32288,
    "c": 0.15981,
    "h": 270.4
  },
  "luminance": 0.02946
}

Semantic roles & 50–950 ramp

primary
#1A2183
secondary
#B7AF42
accent
#DE3EEA
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080410
muted
#7A797F

Preview Lab

Preview with #1A2183

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

Preview Lab → · Contrast checker → · Palette generator →

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