#2A3482#2A3482

#2A3482 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.6% C 0.131 H 272.6°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#2A3482
RGBrgb(42, 52, 130)
HSLhsl(233, 51%, 34%)
HSVhsv(233, 68%, 51%)
CMYKcmyk(67.7%, 60%, 0%, 49%)
CIE-LABlab(25.44, 22.77, -45.32)
CIE-LCHlch(25.44, 50.71, 296.68°)
OKLaboklab(36.62% 0.006 -0.1304)
OKLCHoklch(36.62% 0.131 272.6)
XYZxyz(6.2108, 4.5594, 21.6675)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3482 #82782A
analogous
#2A6082 #2A3482 #4C2A82
triadic
#2A3482 #822A34 #34822A
tetradic
#2A3482 #822A60 #82782A #2A824C
square
#2A3482 #822A60 #82782A #2A824C
split-complementary
#2A3482 #824C2A #60822A
monochromatic
#0C0F25 #1B2154 #2A3482 #3947B0 #5C69CA

Accessibility & contrast

On white

10.98
#2A3482 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2A3482 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3482
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3482#FFFFFF#000000##FFFFFF
##2A34821.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004085
Deuteranopia (green-blind)
#003880
Tritanopia (blue-blind)
#004755
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2a3482;
/* rgb */ color: rgb(42, 52, 130);
/* oklch */ color: oklch(36.6% 0.131 272.6);
Tailwind
colors: {
  custom: {
    50: '#6f6ba7',
    500: '#2a3482',
    950: '#000000',
  },
}
SCSS
$custom: #2a3482;
$custom-light: #6f6ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3482",
  "rgb": {
    "r": 42,
    "g": 52,
    "b": 130
  },
  "hsl": {
    "h": 233.182,
    "s": 51.163,
    "l": 33.725
  },
  "oklch": {
    "l": 0.36617,
    "c": 0.13058,
    "h": 272.6
  },
  "luminance": 0.0456
}

Semantic roles & 50–950 ramp

primary
#2A3482
secondary
#B0A658
accent
#CB4DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2A3482

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

Preview Lab → · Contrast checker → · Palette generator →

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