#1A2185#1A2185

#1A2185 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.5% C 0.162 H 270.3°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#1A2185
RGBrgb(26, 33, 133)
HSLhsl(236, 67%, 31%)
HSVhsv(236, 80%, 52%)
CMYKcmyk(80.5%, 75.2%, 0%, 47.8%)
CIE-LABlab(20.04, 34.47, -56.08)
CIE-LCHlch(20.04, 65.83, 301.58°)
OKLaboklab(32.51% 0.0008 -0.1624)
OKLCHoklch(32.51% 0.162 270.3)
XYZxyz(5.2021, 3.0002, 22.4907)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2185 #857E1A
analogous
#1A5685 #1A2185 #481A85
triadic
#1A2185 #851A21 #21851A
tetradic
#1A2185 #851A56 #857E1A #1A8548
square
#1A2185 #851A56 #857E1A #1A8548
split-complementary
#1A2185 #85481A #56851A
monochromatic
#06081F #101452 #1A2185 #242EB8 #404ADA

Accessibility & contrast

On white

13.12
#1A2185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1A2185 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2185
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2185#FFFFFF#000000##FFFFFF
##1A21851.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003688
Deuteranopia (green-blind)
#002B83
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1a2185;
/* rgb */ color: rgb(26, 33, 133);
/* oklch */ color: oklch(32.5% 0.162 270.3);
Tailwind
colors: {
  custom: {
    50: '#6b5daa',
    500: '#1a2185',
    950: '#000000',
  },
}
SCSS
$custom: #1a2185;
$custom-light: #6b5daa;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2185",
  "rgb": {
    "r": 26,
    "g": 33,
    "b": 133
  },
  "hsl": {
    "h": 236.075,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.32511,
    "c": 0.16241,
    "h": 270.3
  },
  "luminance": 0.03001
}

Semantic roles & 50–950 ramp

primary
#1A2185
secondary
#B8B142
accent
#DF3EEA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1A2185

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

Preview Lab → · Contrast checker → · Palette generator →

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