#2A349B#2A349B

#2A349B is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.9% C 0.165 H 271.8°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#2A349B
RGBrgb(42, 52, 155)
HSLhsl(235, 57%, 39%)
HSVhsv(235, 73%, 61%)
CMYKcmyk(72.9%, 66.5%, 0%, 39.2%)
CIE-LABlab(27.61, 32.03, -57.23)
CIE-LCHlch(27.61, 65.58, 299.23°)
OKLaboklab(38.89% 0.0051 -0.1654)
OKLCHoklch(38.89% 0.165 271.8)
XYZxyz(8.0972, 5.3140, 31.6030)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A349B #9B912A
analogous
#2A6C9B #2A349B #582A9B
triadic
#2A349B #9B2A34 #349B2A
tetradic
#2A349B #9B2A6C #9B912A #2A9B58
square
#2A349B #9B2A6C #9B912A #2A9B58
split-complementary
#2A349B #9B582A #6C9B2A
monochromatic
#10143B #1D246B #2A349B #3946C9 #6973D6

Accessibility & contrast

On white

10.18
#2A349B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2A349B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A349B
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A349B#FFFFFF#000000##FFFFFF
##2A349B1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479E
Deuteranopia (green-blind)
#003C99
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2a349b;
/* rgb */ color: rgb(42, 52, 155);
/* oklch */ color: oklch(38.9% 0.165 271.8);
Tailwind
colors: {
  custom: {
    50: '#746bb9',
    500: '#2a349b',
    950: '#000000',
  },
}
SCSS
$custom: #2a349b;
$custom-light: #746bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a349b",
  "rgb": {
    "r": 42,
    "g": 52,
    "b": 155
  },
  "hsl": {
    "h": 234.69,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.3889,
    "c": 0.16547,
    "h": 271.8
  },
  "luminance": 0.05315
}

Semantic roles & 50–950 ramp

primary
#2A349B
secondary
#BDB564
accent
#D347E1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #2A349B

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

Preview Lab → · Contrast checker → · Palette generator →

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