#2A327B#2A327B

#2A327B is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.6% C 0.123 H 273.7°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#2A327B
RGBrgb(42, 50, 123)
HSLhsl(234, 49%, 32%)
HSVhsv(234, 66%, 48%)
CMYKcmyk(65.9%, 59.3%, 0%, 51.8%)
CIE-LABlab(24.33, 21.52, -42.71)
CIE-LCHlch(24.33, 47.82, 296.74°)
OKLaboklab(35.61% 0.0079 -0.1228)
OKLCHoklch(35.61% 0.123 273.7)
XYZxyz(5.6694, 4.2030, 19.2475)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A327B #7B732A
analogous
#2A5B7B #2A327B #4B2A7B
triadic
#2A327B #7B2A32 #327B2A
tetradic
#2A327B #7B2A5B #7B732A #2A7B4B
square
#2A327B #7B2A5B #7B732A #2A7B4B
split-complementary
#2A327B #7B4B2A #5B7B2A
monochromatic
#0B0D20 #1A1F4D #2A327B #3A45A9 #5964C6

Accessibility & contrast

On white

11.41
#2A327B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2A327B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A327B
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A327B#FFFFFF#000000##FFFFFF
##2A327B1.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7D
Deuteranopia (green-blind)
#00367A
Tritanopia (blue-blind)
#004451
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2a327b;
/* rgb */ color: rgb(42, 50, 123);
/* oklch */ color: oklch(35.6% 0.123 273.7);
Tailwind
colors: {
  custom: {
    50: '#6d69a2',
    500: '#2a327b',
    950: '#000000',
  },
}
SCSS
$custom: #2a327b;
$custom-light: #6d69a2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a327b",
  "rgb": {
    "r": 42,
    "g": 50,
    "b": 123
  },
  "hsl": {
    "h": 234.074,
    "s": 49.091,
    "l": 32.353
  },
  "oklch": {
    "l": 0.35613,
    "c": 0.12304,
    "h": 273.7
  },
  "luminance": 0.04204
}

Semantic roles & 50–950 ramp

primary
#2A327B
secondary
#ACA355
accent
#CB4FD9
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #2A327B

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

Preview Lab → · Contrast checker → · Palette generator →

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