#2A3590#2A3590

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

Color values

HEX#2A3590
RGBrgb(42, 53, 144)
HSLhsl(234, 55%, 36%)
HSVhsv(234, 71%, 56%)
CMYKcmyk(70.8%, 63.2%, 0%, 43.5%)
CIE-LABlab(26.88, 27.32, -51.68)
CIE-LCHlch(26.88, 58.45, 297.86°)
OKLaboklab(38.05% 0.005 -0.1491)
OKLCHoklch(38.05% 0.149 271.9)
XYZxyz(7.2603, 5.0514, 26.9725)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3590 #90852A
analogous
#2A6890 #2A3590 #522A90
triadic
#2A3590 #902A35 #35902A
tetradic
#2A3590 #902A68 #90852A #2A9052
square
#2A3590 #902A68 #90852A #2A9052
split-complementary
#2A3590 #90522A #68902A
monochromatic
#0E1231 #1C2461 #2A3590 #3846BF #636FD1

Accessibility & contrast

On white

10.45
#2A3590 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2A3590 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3590
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3590#FFFFFF#000000##FFFFFF
##2A35901.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004493
Deuteranopia (green-blind)
#003B8E
Tritanopia (blue-blind)
#004C5D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2a3590;
/* rgb */ color: rgb(42, 53, 144);
/* oklch */ color: oklch(38.1% 0.149 271.9);
Tailwind
colors: {
  custom: {
    50: '#726cb1',
    500: '#2a3590',
    950: '#000000',
  },
}
SCSS
$custom: #2a3590;
$custom-light: #726cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3590",
  "rgb": {
    "r": 42,
    "g": 53,
    "b": 144
  },
  "hsl": {
    "h": 233.529,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38051,
    "c": 0.14919,
    "h": 271.9
  },
  "luminance": 0.05052
}

Semantic roles & 50–950 ramp

primary
#2A3590
secondary
#B7AE5E
accent
#CE4ADE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2A3590

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

Preview Lab → · Contrast checker → · Palette generator →

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