#2A329E#2A329E

#2A329E is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.8% C 0.172 H 272.0°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#2A329E
RGBrgb(42, 50, 158)
HSLhsl(236, 58%, 39%)
HSVhsv(236, 73%, 62%)
CMYKcmyk(73.4%, 68.4%, 0%, 38%)
CIE-LABlab(27.41, 34.40, -59.38)
CIE-LCHlch(27.41, 68.63, 300.08°)
OKLaboklab(38.83% 0.0061 -0.1717)
OKLCHoklch(38.83% 0.172 272)
XYZxyz(8.2649, 5.2412, 32.9172)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A329E #9E962A
analogous
#2A6C9E #2A329E #5C2A9E
triadic
#2A329E #9E2A32 #329E2A
tetradic
#2A329E #9E2A6C #9E962A #2A9E5C
square
#2A329E #9E2A6C #9E962A #2A9E5C
split-complementary
#2A329E #9E5C2A #6C9E2A
monochromatic
#10133D #1D236E #2A329E #3A44CB #6B72D8

Accessibility & contrast

On white

10.25
#2A329E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2A329E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A329E
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A329E#FFFFFF#000000##FFFFFF
##2A329E1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A1
Deuteranopia (green-blind)
#003B9C
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2a329e;
/* rgb */ color: rgb(42, 50, 158);
/* oklch */ color: oklch(38.8% 0.172 272.0);
Tailwind
colors: {
  custom: {
    50: '#756abc',
    500: '#2a329e',
    950: '#000000',
  },
}
SCSS
$custom: #2a329e;
$custom-light: #756abc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a329e",
  "rgb": {
    "r": 42,
    "g": 50,
    "b": 158
  },
  "hsl": {
    "h": 235.862,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.3883,
    "c": 0.17181,
    "h": 272
  },
  "luminance": 0.05242
}

Semantic roles & 50–950 ramp

primary
#2A329E
secondary
#BEB866
accent
#D747E1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2A329E

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

Preview Lab → · Contrast checker → · Palette generator →

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