#2A3596#2A3596

#2A3596 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.6% C 0.157 H 271.7°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#2A3596
RGBrgb(42, 53, 150)
HSLhsl(234, 56%, 38%)
HSVhsv(234, 72%, 59%)
CMYKcmyk(72%, 64.7%, 0%, 41.2%)
CIE-LABlab(27.41, 29.54, -54.51)
CIE-LCHlch(27.41, 62.00, 298.46°)
OKLaboklab(38.6% 0.0047 -0.1574)
OKLCHoklch(38.6% 0.157 271.7)
XYZxyz(7.7311, 5.2397, 29.4522)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3596 #968B2A
analogous
#2A6B96 #2A3596 #552A96
triadic
#2A3596 #962A35 #35962A
tetradic
#2A3596 #962A6B #968B2A #2A9655
square
#2A3596 #962A6B #968B2A #2A9655
split-complementary
#2A3596 #96552A #6B962A
monochromatic
#0F1336 #1D2466 #2A3596 #3746C6 #6671D4

Accessibility & contrast

On white

10.25
#2A3596 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2A3596 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3596
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3596#FFFFFF#000000##FFFFFF
##2A35961.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004699
Deuteranopia (green-blind)
#003C94
Tritanopia (blue-blind)
#004E60
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2a3596;
/* rgb */ color: rgb(42, 53, 150);
/* oklch */ color: oklch(38.6% 0.157 271.7);
Tailwind
colors: {
  custom: {
    50: '#736cb6',
    500: '#2a3596',
    950: '#000000',
  },
}
SCSS
$custom: #2a3596;
$custom-light: #736cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3596",
  "rgb": {
    "r": 42,
    "g": 53,
    "b": 150
  },
  "hsl": {
    "h": 233.889,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38601,
    "c": 0.15748,
    "h": 271.7
  },
  "luminance": 0.0524
}

Semantic roles & 50–950 ramp

primary
#2A3596
secondary
#BAB161
accent
#D048E0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2A3596

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

Preview Lab → · Contrast checker → · Palette generator →

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