#2A329F#2A329F

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

Color values

HEX#2A329F
RGBrgb(42, 50, 159)
HSLhsl(236, 58%, 39%)
HSVhsv(236, 74%, 62%)
CMYKcmyk(73.6%, 68.6%, 0%, 37.6%)
CIE-LABlab(27.51, 34.76, -59.84)
CIE-LCHlch(27.51, 69.20, 300.15°)
OKLaboklab(38.93% 0.006 -0.173)
OKLCHoklch(38.93% 0.173 272)
XYZxyz(8.3513, 5.2758, 33.3724)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A329F #9F972A
analogous
#2A6D9F #2A329F #5C2A9F
triadic
#2A329F #9F2A32 #329F2A
tetradic
#2A329F #9F2A6D #9F972A #2A9F5C
square
#2A329F #9F2A6D #9F972A #2A9F5C
split-complementary
#2A329F #9F5C2A #6D9F2A
monochromatic
#10143E #1D236F #2A329F #3B45CB #6B73D8

Accessibility & contrast

On white

10.22
#2A329F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A329F
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A329F#FFFFFF#000000##FFFFFF
##2A329F1.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#003B9D
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2a329f;
/* rgb */ color: rgb(42, 50, 159);
/* oklch */ color: oklch(38.9% 0.173 272.0);
Tailwind
colors: {
  custom: {
    50: '#766abc',
    500: '#2a329f',
    950: '#000000',
  },
}
SCSS
$custom: #2a329f;
$custom-light: #766abc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a329f",
  "rgb": {
    "r": 42,
    "g": 50,
    "b": 159
  },
  "hsl": {
    "h": 235.897,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.38928,
    "c": 0.17313,
    "h": 272
  },
  "luminance": 0.05277
}

Semantic roles & 50–950 ramp

primary
#2A329F
secondary
#BFB966
accent
#D746E1
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2A329F

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

Preview Lab → · Contrast checker → · Palette generator →

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