#2A2482#2A2482

#2A2482 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.7% C 0.151 H 277.4°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#2A2482
RGBrgb(42, 36, 130)
HSLhsl(244, 57%, 33%)
HSVhsv(244, 72%, 51%)
CMYKcmyk(67.7%, 72.3%, 0%, 49%)
CIE-LABlab(21.45, 33.29, -51.84)
CIE-LCHlch(21.45, 61.61, 302.71°)
OKLaboklab(33.7% 0.0194 -0.1496)
OKLCHoklch(33.7% 0.151 277.4)
XYZxyz(5.6137, 3.3652, 21.4685)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2482 #7C8224
analogous
#244D82 #2A2482 #592482
triadic
#2A2482 #822A24 #24822A
tetradic
#2A2482 #82244D #7C8224 #248259
square
#2A2482 #82244D #7C8224 #248259
split-complementary
#2A2482 #825924 #4D8224
monochromatic
#0B0922 #1B1752 #2A2482 #3931B2 #5951CF

Accessibility & contrast

On white

12.55
#2A2482 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#2A2482 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2482
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2482#FFFFFF#000000##FFFFFF
##2A24821.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003785
Deuteranopia (green-blind)
#002F80
Tritanopia (blue-blind)
#003E50
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2a2482;
/* rgb */ color: rgb(42, 36, 130);
/* oklch */ color: oklch(33.7% 0.151 277.4);
Tailwind
colors: {
  custom: {
    50: '#7060a7',
    500: '#2a2482',
    950: '#000000',
  },
}
SCSS
$custom: #2a2482;
$custom-light: #7060a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2482",
  "rgb": {
    "r": 42,
    "g": 36,
    "b": 130
  },
  "hsl": {
    "h": 243.83,
    "s": 56.627,
    "l": 32.549
  },
  "oklch": {
    "l": 0.33701,
    "c": 0.1509,
    "h": 277.4
  },
  "luminance": 0.03366
}

Semantic roles & 50–950 ramp

primary
#2A2482
secondary
#ADB34F
accent
#E048D6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #2A2482

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

Preview Lab → · Contrast checker → · Palette generator →

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