#2A2494#2A2494

#2A2494 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.6% C 0.174 H 275.3°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#2A2494
RGBrgb(42, 36, 148)
HSLhsl(243, 61%, 36%)
HSVhsv(243, 76%, 58%)
CMYKcmyk(71.6%, 75.7%, 0%, 42%)
CIE-LABlab(23.31, 39.44, -60.01)
CIE-LCHlch(23.31, 71.81, 303.31°)
OKLaboklab(35.58% 0.016 -0.1735)
OKLCHoklch(35.58% 0.174 275.3)
XYZxyz(6.9293, 3.8915, 28.3972)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2494 #8E9424
analogous
#245694 #2A2494 #622494
triadic
#2A2494 #942A24 #24942A
tetradic
#2A2494 #942456 #8E9424 #249462
square
#2A2494 #942456 #8E9424 #249462
split-complementary
#2A2494 #946224 #569424
monochromatic
#0E0C32 #1C1863 #2A2494 #3830C5 #625BD7

Accessibility & contrast

On white

11.81
#2A2494 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A2494
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2494#FFFFFF#000000##FFFFFF
##2A24941.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C97
Deuteranopia (green-blind)
#003292
Tritanopia (blue-blind)
#00445A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2a2494;
/* rgb */ color: rgb(42, 36, 148);
/* oklch */ color: oklch(35.6% 0.174 275.3);
Tailwind
colors: {
  custom: {
    50: '#7460b5',
    500: '#2a2494',
    950: '#000000',
  },
}
SCSS
$custom: #2a2494;
$custom-light: #7460b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2494",
  "rgb": {
    "r": 42,
    "g": 36,
    "b": 148
  },
  "hsl": {
    "h": 243.214,
    "s": 60.87,
    "l": 36.078
  },
  "oklch": {
    "l": 0.35584,
    "c": 0.17422,
    "h": 275.3
  },
  "luminance": 0.03892
}

Semantic roles & 50–950 ramp

primary
#2A2494
secondary
#B6BC58
accent
#E444DB
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2A2494

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

Preview Lab → · Contrast checker → · Palette generator →

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