#2A328D#2A328D

#2A328D is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.2% C 0.149 H 272.9°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#2A328D
RGBrgb(42, 50, 141)
HSLhsl(235, 54%, 36%)
HSVhsv(235, 70%, 55%)
CMYKcmyk(70.2%, 64.5%, 0%, 44.7%)
CIE-LABlab(25.85, 28.21, -51.50)
CIE-LCHlch(25.85, 58.72, 298.71°)
OKLaboklab(37.21% 0.0075 -0.1486)
OKLCHoklch(37.21% 0.149 272.9)
XYZxyz(6.9016, 4.6959, 25.7368)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A328D #8D852A
analogous
#2A638D #2A328D #542A8D
triadic
#2A328D #8D2A32 #328D2A
tetradic
#2A328D #8D2A63 #8D852A #2A8D54
square
#2A328D #8D2A63 #8D852A #2A8D54
split-complementary
#2A328D #8D542A #638D2A
monochromatic
#0E112F #1C215E #2A328D #3843BC #616AD0

Accessibility & contrast

On white

10.83
#2A328D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2A328D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A328D
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A328D#FFFFFF#000000##FFFFFF
##2A328D1.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004290
Deuteranopia (green-blind)
#00398B
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2a328d;
/* rgb */ color: rgb(42, 50, 141);
/* oklch */ color: oklch(37.2% 0.149 272.9);
Tailwind
colors: {
  custom: {
    50: '#716aaf',
    500: '#2a328d',
    950: '#000000',
  },
}
SCSS
$custom: #2a328d;
$custom-light: #716aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a328d",
  "rgb": {
    "r": 42,
    "g": 50,
    "b": 141
  },
  "hsl": {
    "h": 235.152,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37211,
    "c": 0.14882,
    "h": 272.9
  },
  "luminance": 0.04697
}

Semantic roles & 50–950 ramp

primary
#2A328D
secondary
#B6AF5D
accent
#D24ADD
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2A328D

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

Preview Lab → · Contrast checker → · Palette generator →

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