#2A3491#2A3491

#2A3491 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.0% C 0.152 H 272.2°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#2A3491
RGBrgb(42, 52, 145)
HSLhsl(234, 55%, 37%)
HSVhsv(234, 71%, 57%)
CMYKcmyk(71%, 64.1%, 0%, 43.1%)
CIE-LABlab(26.71, 28.35, -52.57)
CIE-LCHlch(26.71, 59.73, 298.34°)
OKLaboklab(37.95% 0.0057 -0.1517)
OKLCHoklch(37.95% 0.152 272.2)
XYZxyz(7.2919, 4.9919, 27.3618)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3491 #91872A
analogous
#2A6891 #2A3491 #542A91
triadic
#2A3491 #912A34 #34912A
tetradic
#2A3491 #912A68 #91872A #2A9154
square
#2A3491 #912A68 #91872A #2A9154
split-complementary
#2A3491 #91542A #68912A
monochromatic
#0F1232 #1C2362 #2A3491 #3845C0 #636ED2

Accessibility & contrast

On white

10.51
#2A3491 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2A3491 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3491
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3491#FFFFFF#000000##FFFFFF
##2A34911.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004494
Deuteranopia (green-blind)
#003A8F
Tritanopia (blue-blind)
#004C5D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2a3491;
/* rgb */ color: rgb(42, 52, 145);
/* oklch */ color: oklch(38.0% 0.152 272.2);
Tailwind
colors: {
  custom: {
    50: '#726bb2',
    500: '#2a3491',
    950: '#000000',
  },
}
SCSS
$custom: #2a3491;
$custom-light: #726bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3491",
  "rgb": {
    "r": 42,
    "g": 52,
    "b": 145
  },
  "hsl": {
    "h": 234.175,
    "s": 55.08,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37953,
    "c": 0.15185,
    "h": 272.2
  },
  "luminance": 0.04993
}

Semantic roles & 50–950 ramp

primary
#2A3491
secondary
#B8AF5F
accent
#D049DE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2A3491

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

Preview Lab → · Contrast checker → · Palette generator →

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