#2A3591#2A3591

#2A3591 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.1% C 0.151 H 271.9°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#2A3591
RGBrgb(42, 53, 145)
HSLhsl(234, 55%, 37%)
HSVhsv(234, 71%, 57%)
CMYKcmyk(71%, 63.4%, 0%, 43.1%)
CIE-LABlab(26.97, 27.69, -52.15)
CIE-LCHlch(26.97, 59.05, 297.97°)
OKLaboklab(38.14% 0.0049 -0.1505)
OKLCHoklch(38.14% 0.151 271.9)
XYZxyz(7.3371, 5.0821, 27.3768)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3591 #91862A
analogous
#2A6991 #2A3591 #532A91
triadic
#2A3591 #912A35 #35912A
tetradic
#2A3591 #912A69 #91862A #2A9153
square
#2A3591 #912A69 #91862A #2A9153
split-complementary
#2A3591 #91532A #69912A
monochromatic
#0F1232 #1C2462 #2A3591 #3846C0 #636FD2

Accessibility & contrast

On white

10.41
#2A3591 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2A3591 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3591
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3591#FFFFFF#000000##FFFFFF
##2A35911.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004594
Deuteranopia (green-blind)
#003B8F
Tritanopia (blue-blind)
#004C5E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2a3591;
/* rgb */ color: rgb(42, 53, 145);
/* oklch */ color: oklch(38.1% 0.151 271.9);
Tailwind
colors: {
  custom: {
    50: '#726cb2',
    500: '#2a3591',
    950: '#000000',
  },
}
SCSS
$custom: #2a3591;
$custom-light: #726cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3591",
  "rgb": {
    "r": 42,
    "g": 53,
    "b": 145
  },
  "hsl": {
    "h": 233.592,
    "s": 55.08,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38142,
    "c": 0.15058,
    "h": 271.9
  },
  "luminance": 0.05083
}

Semantic roles & 50–950 ramp

primary
#2A3591
secondary
#B8AE5F
accent
#CE49DE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2A3591

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

Preview Lab → · Contrast checker → · Palette generator →

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