#2A3992#2A3992

#2A3992 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.0% C 0.147 H 270.7°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#2A3992
RGBrgb(42, 57, 146)
HSLhsl(231, 55%, 37%)
HSVhsv(231, 71%, 57%)
CMYKcmyk(71.2%, 61%, 0%, 42.7%)
CIE-LABlab(28.10, 25.38, -50.93)
CIE-LCHlch(28.10, 56.90, 296.49°)
OKLaboklab(39% 0.0017 -0.1469)
OKLCHoklch(39% 0.147 270.7)
XYZxyz(7.6045, 5.4931, 27.8481)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3992 #92832A
analogous
#2A6D92 #2A3992 #4F2A92
triadic
#2A3992 #922A39 #39922A
tetradic
#2A3992 #922A6D #92832A #2A924F
square
#2A3992 #922A6D #92832A #2A924F
split-complementary
#2A3992 #924F2A #6D922A
monochromatic
#0F1433 #1C2662 #2A3992 #384CC2 #6474D2

Accessibility & contrast

On white

10.01
#2A3992 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2A3992 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3992
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3992#FFFFFF#000000##FFFFFF
##2A39921.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004795
Deuteranopia (green-blind)
#003E90
Tritanopia (blue-blind)
#004F60
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2a3992;
/* rgb */ color: rgb(42, 57, 146);
/* oklch */ color: oklch(39.0% 0.147 270.7);
Tailwind
colors: {
  custom: {
    50: '#726fb3',
    500: '#2a3992',
    950: '#000000',
  },
}
SCSS
$custom: #2a3992;
$custom-light: #726fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3992",
  "rgb": {
    "r": 42,
    "g": 57,
    "b": 146
  },
  "hsl": {
    "h": 231.346,
    "s": 55.319,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39003,
    "c": 0.14687,
    "h": 270.7
  },
  "luminance": 0.05494
}

Semantic roles & 50–950 ramp

primary
#2A3992
secondary
#B8AC5F
accent
#C949DF
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2A3992

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

Preview Lab → · Contrast checker → · Palette generator →

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