#2A3592#2A3592

#2A3592 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.2% C 0.152 H 271.8°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#2A3592
RGBrgb(42, 53, 146)
HSLhsl(234, 55%, 37%)
HSVhsv(234, 71%, 57%)
CMYKcmyk(71.2%, 63.7%, 0%, 42.7%)
CIE-LABlab(27.05, 28.06, -52.62)
CIE-LCHlch(27.05, 59.64, 298.07°)
OKLaboklab(38.23% 0.0049 -0.1519)
OKLCHoklch(38.23% 0.152 271.8)
XYZxyz(7.4145, 5.1130, 27.7847)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3592 #92872A
analogous
#2A6992 #2A3592 #532A92
triadic
#2A3592 #922A35 #35922A
tetradic
#2A3592 #922A69 #92872A #2A9253
square
#2A3592 #922A69 #92872A #2A9253
split-complementary
#2A3592 #92532A #69922A
monochromatic
#0F1233 #1C2462 #2A3592 #3846C2 #6470D2

Accessibility & contrast

On white

10.38
#2A3592 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A3592
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3592#FFFFFF#000000##FFFFFF
##2A35921.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004595
Deuteranopia (green-blind)
#003B90
Tritanopia (blue-blind)
#004D5E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2a3592;
/* rgb */ color: rgb(42, 53, 146);
/* oklch */ color: oklch(38.2% 0.152 271.8);
Tailwind
colors: {
  custom: {
    50: '#726cb3',
    500: '#2a3592',
    950: '#000000',
  },
}
SCSS
$custom: #2a3592;
$custom-light: #726cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3592",
  "rgb": {
    "r": 42,
    "g": 53,
    "b": 146
  },
  "hsl": {
    "h": 233.654,
    "s": 55.319,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38233,
    "c": 0.15197,
    "h": 271.8
  },
  "luminance": 0.05114
}

Semantic roles & 50–950 ramp

primary
#2A3592
secondary
#B8AF5F
accent
#CF49DF
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2A3592

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

Preview Lab → · Contrast checker → · Palette generator →

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