#2A326F#2A326F

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

Color values

HEX#2A326F
RGBrgb(42, 50, 111)
HSLhsl(233, 45%, 30%)
HSVhsv(233, 62%, 44%)
CMYKcmyk(62.2%, 55%, 0%, 56.5%)
CIE-LABlab(23.41, 17.03, -36.55)
CIE-LCHlch(23.41, 40.33, 294.98°)
OKLaboklab(34.63% 0.0073 -0.1047)
OKLCHoklch(34.63% 0.105 274)
XYZxyz(4.9638, 3.9208, 15.5311)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A326F #6F672A
analogous
#2A556F #2A326F #442A6F
triadic
#2A326F #6F2A32 #326F2A
tetradic
#2A326F #6F2A55 #6F672A #2A6F44
square
#2A326F #6F2A55 #6F672A #2A6F44
split-complementary
#2A326F #6F442A #556F2A
monochromatic
#080A16 #191E43 #2A326F #3B469B #5561BF

Accessibility & contrast

On white

11.77
#2A326F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A326F
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A326F#FFFFFF#000000##FFFFFF
##2A326F1.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3B71
Deuteranopia (green-blind)
#00356E
Tritanopia (blue-blind)
#00404B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2a326f;
/* rgb */ color: rgb(42, 50, 111);
/* oklch */ color: oklch(34.6% 0.105 274.0);
Tailwind
colors: {
  custom: {
    50: '#6b6999',
    500: '#2a326f',
    950: '#000000',
  },
}
SCSS
$custom: #2a326f;
$custom-light: #6b6999;
$custom-dark: #000000;
JSON
{
  "hex": "#2a326f",
  "rgb": {
    "r": 42,
    "g": 50,
    "b": 111
  },
  "hsl": {
    "h": 233.043,
    "s": 45.098,
    "l": 30
  },
  "oklch": {
    "l": 0.34629,
    "c": 0.10494,
    "h": 274
  },
  "luminance": 0.03921
}

Semantic roles & 50–950 ramp

primary
#2A326F
secondary
#A19854
accent
#C653D5
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2A326F

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

Preview Lab → · Contrast checker → · Palette generator →

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