#2A328B#2A328B

#2A328B is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.0% C 0.146 H 273.0°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#2A328B
RGBrgb(42, 50, 139)
HSLhsl(235, 54%, 35%)
HSVhsv(235, 70%, 55%)
CMYKcmyk(69.8%, 64%, 0%, 45.5%)
CIE-LABlab(25.67, 27.47, -50.55)
CIE-LCHlch(25.67, 57.53, 298.52°)
OKLaboklab(37.03% 0.0076 -0.1458)
OKLCHoklch(37.03% 0.146 273)
XYZxyz(6.7541, 4.6369, 24.9602)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A328B #8B832A
analogous
#2A628B #2A328B #532A8B
triadic
#2A328B #8B2A32 #328B2A
tetradic
#2A328B #8B2A62 #8B832A #2A8B53
square
#2A328B #8B2A62 #8B832A #2A8B53
split-complementary
#2A328B #8B532A #628B2A
monochromatic
#0E102D #1C215C #2A328B #3843BA #6069CF

Accessibility & contrast

On white

10.89
#2A328B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2A328B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A328B
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A328B#FFFFFF#000000##FFFFFF
##2A328B1.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418E
Deuteranopia (green-blind)
#003889
Tritanopia (blue-blind)
#004959
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2a328b;
/* rgb */ color: rgb(42, 50, 139);
/* oklch */ color: oklch(37.0% 0.146 273.0);
Tailwind
colors: {
  custom: {
    50: '#716aae',
    500: '#2a328b',
    950: '#000000',
  },
}
SCSS
$custom: #2a328b;
$custom-light: #716aae;
$custom-dark: #000000;
JSON
{
  "hex": "#2a328b",
  "rgb": {
    "r": 42,
    "g": 50,
    "b": 139
  },
  "hsl": {
    "h": 235.052,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.37027,
    "c": 0.14603,
    "h": 273
  },
  "luminance": 0.04638
}

Semantic roles & 50–950 ramp

primary
#2A328B
secondary
#B5AE5C
accent
#D14BDD
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2A328B

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

Preview Lab → · Contrast checker → · Palette generator →

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