#2A327C#2A327C

#2A327C is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.7% C 0.125 H 273.6°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#2A327C
RGBrgb(42, 50, 124)
HSLhsl(234, 49%, 33%)
HSVhsv(234, 66%, 49%)
CMYKcmyk(66.1%, 59.7%, 0%, 51.4%)
CIE-LABlab(24.41, 21.89, -43.21)
CIE-LCHlch(24.41, 48.44, 296.87°)
OKLaboklab(35.7% 0.0079 -0.1243)
OKLCHoklch(35.7% 0.125 273.6)
XYZxyz(5.7323, 4.2282, 19.5789)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A327C #7C742A
analogous
#2A5B7C #2A327C #4B2A7C
triadic
#2A327C #7C2A32 #327C2A
tetradic
#2A327C #7C2A5B #7C742A #2A7C4B
square
#2A327C #7C2A5B #7C742A #2A7C4B
split-complementary
#2A327C #7C4B2A #5B7C2A
monochromatic
#0B0D21 #1B204E #2A327C #3944AA #5964C7

Accessibility & contrast

On white

11.38
#2A327C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A327C
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A327C#FFFFFF#000000##FFFFFF
##2A327C1.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a327c;
/* rgb */ color: rgb(42, 50, 124);
/* oklch */ color: oklch(35.7% 0.125 273.6);
Tailwind
colors: {
  custom: {
    50: '#6e69a3',
    500: '#2a327c',
    950: '#000000',
  },
}
SCSS
$custom: #2a327c;
$custom-light: #6e69a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a327c",
  "rgb": {
    "r": 42,
    "g": 50,
    "b": 124
  },
  "hsl": {
    "h": 234.146,
    "s": 49.398,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35699,
    "c": 0.12452,
    "h": 273.6
  },
  "luminance": 0.04229
}

Semantic roles & 50–950 ramp

primary
#2A327C
secondary
#ADA455
accent
#CB4FD9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #2A327C

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

Preview Lab → · Contrast checker → · Palette generator →

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