#2A328C#2A328C

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

Color values

HEX#2A328C
RGBrgb(42, 50, 140)
HSLhsl(235, 54%, 36%)
HSVhsv(235, 70%, 55%)
CMYKcmyk(70%, 64.3%, 0%, 45.1%)
CIE-LABlab(25.76, 27.84, -51.03)
CIE-LCHlch(25.76, 58.13, 298.61°)
OKLaboklab(37.12% 0.0075 -0.1472)
OKLCHoklch(37.12% 0.147 272.9)
XYZxyz(6.8275, 4.6663, 25.3467)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A328C #8C842A
analogous
#2A638C #2A328C #532A8C
triadic
#2A328C #8C2A32 #328C2A
tetradic
#2A328C #8C2A63 #8C842A #2A8C53
square
#2A328C #8C2A63 #8C842A #2A8C53
split-complementary
#2A328C #8C532A #638C2A
monochromatic
#0E102E #1C215D #2A328C #3843BB #616AD0

Accessibility & contrast

On white

10.86
#2A328C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A328C
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A328C#FFFFFF#000000##FFFFFF
##2A328C1.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a328c;
/* rgb */ color: rgb(42, 50, 140);
/* oklch */ color: oklch(37.1% 0.147 272.9);
Tailwind
colors: {
  custom: {
    50: '#716aae',
    500: '#2a328c',
    950: '#000000',
  },
}
SCSS
$custom: #2a328c;
$custom-light: #716aae;
$custom-dark: #000000;
JSON
{
  "hex": "#2a328c",
  "rgb": {
    "r": 42,
    "g": 50,
    "b": 140
  },
  "hsl": {
    "h": 235.102,
    "s": 53.846,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37119,
    "c": 0.14742,
    "h": 272.9
  },
  "luminance": 0.04667
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A328C

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

Preview Lab → · Contrast checker → · Palette generator →

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