#2A327D#2A327D

#2A327D is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.8% C 0.126 H 273.6°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#2A327D
RGBrgb(42, 50, 125)
HSLhsl(234, 50%, 33%)
HSVhsv(234, 66%, 49%)
CMYKcmyk(66.4%, 60%, 0%, 51%)
CIE-LABlab(24.49, 22.27, -43.71)
CIE-LCHlch(24.49, 49.05, 296.99°)
OKLaboklab(35.78% 0.0079 -0.1257)
OKLCHoklch(35.78% 0.126 273.6)
XYZxyz(5.7959, 4.2536, 19.9137)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A327D #7D752A
analogous
#2A5B7D #2A327D #4B2A7D
triadic
#2A327D #7D2A32 #327D2A
tetradic
#2A327D #7D2A5B #7D752A #2A7D4B
square
#2A327D #7D2A5B #7D752A #2A7D4B
split-complementary
#2A327D #7D4B2A #5B7D2A
monochromatic
#0B0D21 #1B204F #2A327D #3944AB #5A64C8

Accessibility & contrast

On white

11.35
#2A327D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2A327D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A327D
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A327D#FFFFFF#000000##FFFFFF
##2A327D1.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E80
Deuteranopia (green-blind)
#00377B
Tritanopia (blue-blind)
#004452
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2a327d;
/* rgb */ color: rgb(42, 50, 125);
/* oklch */ color: oklch(35.8% 0.126 273.6);
Tailwind
colors: {
  custom: {
    50: '#6e69a3',
    500: '#2a327d',
    950: '#000000',
  },
}
SCSS
$custom: #2a327d;
$custom-light: #6e69a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a327d",
  "rgb": {
    "r": 42,
    "g": 50,
    "b": 125
  },
  "hsl": {
    "h": 234.217,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.35784,
    "c": 0.12599,
    "h": 273.6
  },
  "luminance": 0.04254
}

Semantic roles & 50–950 ramp

primary
#2A327D
secondary
#ADA556
accent
#CC4FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2A327D

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

Preview Lab → · Contrast checker → · Palette generator →

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