#1A3285#1A3285

#1A3285 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.6% C 0.142 H 266.5°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#1A3285
RGBrgb(26, 50, 133)
HSLhsl(227, 67%, 31%)
HSVhsv(227, 80%, 52%)
CMYKcmyk(80.5%, 62.4%, 0%, 47.8%)
CIE-LABlab(24.30, 23.12, -49.09)
CIE-LCHlch(24.30, 54.26, 295.22°)
OKLaboklab(35.62% -0.0086 -0.1419)
OKLCHoklch(35.62% 0.142 266.5)
XYZxyz(5.7988, 4.1936, 22.6896)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3285 #856D1A
analogous
#1A6785 #1A3285 #371A85
triadic
#1A3285 #851A32 #32851A
tetradic
#1A3285 #851A67 #856D1A #1A8537
square
#1A3285 #851A67 #856D1A #1A8537
split-complementary
#1A3285 #85371A #67851A
monochromatic
#060C1F #101F52 #1A3285 #2445B8 #4062DA

Accessibility & contrast

On white

11.42
#1A3285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#1A3285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3285
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3285#FFFFFF#000000##FFFFFF
##1A32851.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F88
Deuteranopia (green-blind)
#003583
Tritanopia (blue-blind)
#004756
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1a3285;
/* rgb */ color: rgb(26, 50, 133);
/* oklch */ color: oklch(35.6% 0.142 266.5);
Tailwind
colors: {
  custom: {
    50: '#6969a9',
    500: '#1a3285',
    950: '#000000',
  },
}
SCSS
$custom: #1a3285;
$custom-light: #6969a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3285",
  "rgb": {
    "r": 26,
    "g": 50,
    "b": 133
  },
  "hsl": {
    "h": 226.542,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35619,
    "c": 0.14216,
    "h": 266.5
  },
  "luminance": 0.04194
}

Semantic roles & 50–950 ramp

primary
#1A3285
secondary
#B89E42
accent
#C33EEA
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #1A3285

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

Preview Lab → · Contrast checker → · Palette generator →

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