#2A2599#2A2599

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

Color values

HEX#2A2599
RGBrgb(42, 37, 153)
HSLhsl(243, 61%, 37%)
HSVhsv(243, 76%, 60%)
CMYKcmyk(72.5%, 75.8%, 0%, 40%)
CIE-LABlab(24.05, 40.54, -61.87)
CIE-LCHlch(24.05, 73.97, 303.24°)
OKLaboklab(36.27% 0.0144 -0.1789)
OKLCHoklch(36.27% 0.18 274.6)
XYZxyz(7.3643, 4.1146, 30.5369)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2599 #949925
analogous
#255A99 #2A2599 #642599
triadic
#2A2599 #992A25 #25992A
tetradic
#2A2599 #99255A #949925 #259964
square
#2A2599 #99255A #949925 #259964
split-complementary
#2A2599 #996425 #5A9925
monochromatic
#0F0D36 #1C1968 #2A2599 #3831CA #6560D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A2599#FFFFFF#000000##FFFFFF
##2A25991.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)
#003E9C
Deuteranopia (green-blind)
#003497
Tritanopia (blue-blind)
#00475D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2a2599;
/* rgb */ color: rgb(42, 37, 153);
/* oklch */ color: oklch(36.3% 0.179 274.6);
Tailwind
colors: {
  custom: {
    50: '#7561b8',
    500: '#2a2599',
    950: '#000000',
  },
}
SCSS
$custom: #2a2599;
$custom-light: #7561b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2599",
  "rgb": {
    "r": 42,
    "g": 37,
    "b": 153
  },
  "hsl": {
    "h": 242.586,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36265,
    "c": 0.1795,
    "h": 274.6
  },
  "luminance": 0.04115
}

Semantic roles & 50–950 ramp

primary
#2A2599
secondary
#B9BE5C
accent
#E444DD
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2A2599

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

Preview Lab → · Contrast checker → · Palette generator →

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