#1A2285#1A2285

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

Color values

HEX#1A2285
RGBrgb(26, 34, 133)
HSLhsl(236, 67%, 31%)
HSVhsv(236, 80%, 52%)
CMYKcmyk(80.5%, 74.4%, 0%, 47.8%)
CIE-LABlab(20.27, 33.85, -55.71)
CIE-LCHlch(20.27, 65.19, 301.28°)
OKLaboklab(32.67% 0.0003 -0.1613)
OKLCHoklch(32.67% 0.161 270.1)
XYZxyz(5.2302, 3.0565, 22.5001)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2285 #857D1A
analogous
#1A5785 #1A2285 #471A85
triadic
#1A2285 #851A22 #22851A
tetradic
#1A2285 #851A57 #857D1A #1A8547
square
#1A2285 #851A57 #857D1A #1A8547
split-complementary
#1A2285 #85471A #57851A
monochromatic
#06081F #101552 #1A2285 #242FB8 #404BDA

Accessibility & contrast

On white

13.03
#1A2285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1A2285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2285
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2285#FFFFFF#000000##FFFFFF
##1A22851.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a2285;
/* rgb */ color: rgb(26, 34, 133);
/* oklch */ color: oklch(32.7% 0.161 270.1);
Tailwind
colors: {
  custom: {
    50: '#6b5eaa',
    500: '#1a2285',
    950: '#000000',
  },
}
SCSS
$custom: #1a2285;
$custom-light: #6b5eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2285",
  "rgb": {
    "r": 26,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 235.514,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.32672,
    "c": 0.16134,
    "h": 270.1
  },
  "luminance": 0.03057
}

Semantic roles & 50–950 ramp

primary
#1A2285
secondary
#B8B042
accent
#DD3EEA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1A2285

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

Preview Lab → · Contrast checker → · Palette generator →

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