#2A328E#2A328E

#2A328E is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.3% C 0.150 H 272.8°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#2A328E
RGBrgb(42, 50, 142)
HSLhsl(235, 54%, 36%)
HSVhsv(235, 70%, 56%)
CMYKcmyk(70.4%, 64.8%, 0%, 44.3%)
CIE-LABlab(25.94, 28.58, -51.98)
CIE-LCHlch(25.94, 59.32, 298.80°)
OKLaboklab(37.3% 0.0074 -0.15)
OKLCHoklch(37.3% 0.15 272.8)
XYZxyz(6.9763, 4.7258, 26.1305)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A328E #8E862A
analogous
#2A648E #2A328E #542A8E
triadic
#2A328E #8E2A32 #328E2A
tetradic
#2A328E #8E2A64 #8E862A #2A8E54
square
#2A328E #8E2A64 #8E862A #2A8E54
split-complementary
#2A328E #8E542A #648E2A
monochromatic
#0E1130 #1C215F #2A328E #3843BD #626BD1

Accessibility & contrast

On white

10.80
#2A328E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2A328E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A328E
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A328E#FFFFFF#000000##FFFFFF
##2A328E1.0010.801.9510.80
#FFFFFF10.801.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#00398C
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2a328e;
/* rgb */ color: rgb(42, 50, 142);
/* oklch */ color: oklch(37.3% 0.150 272.8);
Tailwind
colors: {
  custom: {
    50: '#726ab0',
    500: '#2a328e',
    950: '#000000',
  },
}
SCSS
$custom: #2a328e;
$custom-light: #726ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a328e",
  "rgb": {
    "r": 42,
    "g": 50,
    "b": 142
  },
  "hsl": {
    "h": 235.2,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37303,
    "c": 0.1502,
    "h": 272.8
  },
  "luminance": 0.04726
}

Semantic roles & 50–950 ramp

primary
#2A328E
secondary
#B6AF5D
accent
#D24ADE
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2A328E

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

Preview Lab → · Contrast checker → · Palette generator →

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