#2A2E84#2A2E84

#2A2E84 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.6% C 0.141 H 274.6°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#2A2E84
RGBrgb(42, 46, 132)
HSLhsl(237, 52%, 34%)
HSVhsv(237, 68%, 52%)
CMYKcmyk(68.2%, 65.2%, 0%, 48.2%)
CIE-LABlab(24.04, 27.56, -48.86)
CIE-LCHlch(24.04, 56.09, 299.43°)
OKLaboklab(35.63% 0.0113 -0.1409)
OKLCHoklch(35.63% 0.141 274.6)
XYZxyz(6.0953, 4.1116, 22.2977)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2E84 #84802A
analogous
#2A5B84 #2A2E84 #532A84
triadic
#2A2E84 #842A2E #2E842A
tetradic
#2A2E84 #842A5B #84802A #2A8453
square
#2A2E84 #842A5B #84802A #2A8453
split-complementary
#2A2E84 #84532A #5B842A
monochromatic
#0C0E27 #1B1E56 #2A2E84 #393EB2 #5D62CB

Accessibility & contrast

On white

11.52
#2A2E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2A2E84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2E84
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2E84#FFFFFF#000000##FFFFFF
##2A2E841.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D87
Deuteranopia (green-blind)
#003582
Tritanopia (blue-blind)
#004454
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2a2e84;
/* rgb */ color: rgb(42, 46, 132);
/* oklch */ color: oklch(35.6% 0.141 274.6);
Tailwind
colors: {
  custom: {
    50: '#7067a9',
    500: '#2a2e84',
    950: '#000000',
  },
}
SCSS
$custom: #2a2e84;
$custom-light: #7067a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2e84",
  "rgb": {
    "r": 42,
    "g": 46,
    "b": 132
  },
  "hsl": {
    "h": 237.333,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35633,
    "c": 0.14134,
    "h": 274.6
  },
  "luminance": 0.04112
}

Semantic roles & 50–950 ramp

primary
#2A2E84
secondary
#B1AD59
accent
#D54DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2A2E84

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

Preview Lab → · Contrast checker → · Palette generator →

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