#2A326D#2A326D

#2A326D is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.5% C 0.102 H 274.0°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#2A326D
RGBrgb(42, 50, 109)
HSLhsl(233, 44%, 30%)
HSVhsv(233, 61%, 43%)
CMYKcmyk(61.5%, 54.1%, 0%, 57.3%)
CIE-LABlab(23.26, 16.29, -35.50)
CIE-LCHlch(23.26, 39.06, 294.64°)
OKLaboklab(34.47% 0.0071 -0.1016)
OKLCHoklch(34.47% 0.102 274)
XYZxyz(4.8549, 3.8772, 14.9576)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A326D #6D652A
analogous
#2A546D #2A326D #442A6D
triadic
#2A326D #6D2A32 #326D2A
tetradic
#2A326D #6D2A54 #6D652A #2A6D44
square
#2A326D #6D2A54 #6D652A #2A6D44
split-complementary
#2A326D #6D442A #546D2A
monochromatic
#090A16 #191E41 #2A326D #3B4699 #5461BD

Accessibility & contrast

On white

11.83
#2A326D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2A326D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A326D
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A326D#FFFFFF#000000##FFFFFF
##2A326D1.0011.831.7811.83
#FFFFFF11.831.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113A6F
Deuteranopia (green-blind)
#04356C
Tritanopia (blue-blind)
#003F4A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2a326d;
/* rgb */ color: rgb(42, 50, 109);
/* oklch */ color: oklch(34.5% 0.102 274.0);
Tailwind
colors: {
  custom: {
    50: '#6a6997',
    500: '#2a326d',
    950: '#000000',
  },
}
SCSS
$custom: #2a326d;
$custom-light: #6a6997;
$custom-dark: #000000;
JSON
{
  "hex": "#2a326d",
  "rgb": {
    "r": 42,
    "g": 50,
    "b": 109
  },
  "hsl": {
    "h": 232.836,
    "s": 44.371,
    "l": 29.608
  },
  "oklch": {
    "l": 0.34471,
    "c": 0.10185,
    "h": 274
  },
  "luminance": 0.03878
}

Semantic roles & 50–950 ramp

primary
#2A326D
secondary
#9F9654
accent
#C554D4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #2A326D

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

Preview Lab → · Contrast checker → · Palette generator →

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