#2A3587#2A3587

#2A3587 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.3% C 0.136 H 272.2°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#2A3587
RGBrgb(42, 53, 135)
HSLhsl(233, 53%, 35%)
HSVhsv(233, 69%, 53%)
CMYKcmyk(68.9%, 60.7%, 0%, 47.1%)
CIE-LABlab(26.12, 23.96, -47.34)
CIE-LCHlch(26.12, 53.06, 296.85°)
OKLaboklab(37.25% 0.0051 -0.1364)
OKLCHoklch(37.25% 0.136 272.2)
XYZxyz(6.5997, 4.7871, 23.4932)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3587 #877C2A
analogous
#2A6487 #2A3587 #4D2A87
triadic
#2A3587 #872A35 #35872A
tetradic
#2A3587 #872A64 #877C2A #2A874D
square
#2A3587 #872A64 #877C2A #2A874D
split-complementary
#2A3587 #874D2A #64872A
monochromatic
#0D102A #1B2358 #2A3587 #3947B6 #5E6BCD

Accessibility & contrast

On white

10.73
#2A3587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2A3587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3587
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3587#FFFFFF#000000##FFFFFF
##2A35871.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428A
Deuteranopia (green-blind)
#003A85
Tritanopia (blue-blind)
#004958
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2a3587;
/* rgb */ color: rgb(42, 53, 135);
/* oklch */ color: oklch(37.3% 0.136 272.2);
Tailwind
colors: {
  custom: {
    50: '#706cab',
    500: '#2a3587',
    950: '#000000',
  },
}
SCSS
$custom: #2a3587;
$custom-light: #706cab;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3587",
  "rgb": {
    "r": 42,
    "g": 53,
    "b": 135
  },
  "hsl": {
    "h": 232.903,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.3725,
    "c": 0.13647,
    "h": 272.2
  },
  "luminance": 0.04788
}

Semantic roles & 50–950 ramp

primary
#2A3587
secondary
#B3A85A
accent
#CB4CDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2A3587

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

Preview Lab → · Contrast checker → · Palette generator →

#2A3587 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva