#2A328F#2A328F

#2A328F is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.4% C 0.152 H 272.8°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#2A328F
RGBrgb(42, 50, 143)
HSLhsl(235, 55%, 36%)
HSVhsv(235, 71%, 56%)
CMYKcmyk(70.6%, 65%, 0%, 43.9%)
CIE-LABlab(26.03, 28.94, -52.45)
CIE-LCHlch(26.03, 59.91, 298.89°)
OKLaboklab(37.4% 0.0074 -0.1514)
OKLCHoklch(37.4% 0.152 272.8)
XYZxyz(7.0517, 4.7559, 26.5276)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A328F #8F872A
analogous
#2A658F #2A328F #552A8F
triadic
#2A328F #8F2A32 #328F2A
tetradic
#2A328F #8F2A65 #8F872A #2A8F55
square
#2A328F #8F2A65 #8F872A #2A8F55
split-complementary
#2A328F #8F552A #658F2A
monochromatic
#0E1130 #1C2160 #2A328F #3843BE #626BD1

Accessibility & contrast

On white

10.76
#2A328F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A328F
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A328F#FFFFFF#000000##FFFFFF
##2A328F1.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004292
Deuteranopia (green-blind)
#00398D
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2a328f;
/* rgb */ color: rgb(42, 50, 143);
/* oklch */ color: oklch(37.4% 0.152 272.8);
Tailwind
colors: {
  custom: {
    50: '#726ab1',
    500: '#2a328f',
    950: '#000000',
  },
}
SCSS
$custom: #2a328f;
$custom-light: #726ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a328f",
  "rgb": {
    "r": 42,
    "g": 50,
    "b": 143
  },
  "hsl": {
    "h": 235.248,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37396,
    "c": 0.15159,
    "h": 272.8
  },
  "luminance": 0.04757
}

Semantic roles & 50–950 ramp

primary
#2A328F
secondary
#B7B05E
accent
#D24ADE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2A328F

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

Preview Lab → · Contrast checker → · Palette generator →

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