#2A2492#2A2492

#2A2492 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.4% C 0.172 H 275.5°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#2A2492
RGBrgb(42, 36, 146)
HSLhsl(243, 60%, 36%)
HSVhsv(243, 75%, 57%)
CMYKcmyk(71.2%, 75.3%, 0%, 42.7%)
CIE-LABlab(23.10, 38.76, -59.12)
CIE-LCHlch(23.10, 70.70, 303.25°)
OKLaboklab(35.37% 0.0164 -0.1709)
OKLCHoklch(35.37% 0.172 275.5)
XYZxyz(6.7723, 3.8287, 27.5707)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2492 #8C9224
analogous
#245592 #2A2492 #612492
triadic
#2A2492 #922A24 #24922A
tetradic
#2A2492 #922455 #8C9224 #249261
square
#2A2492 #922455 #8C9224 #249261
split-complementary
#2A2492 #926124 #559224
monochromatic
#0E0C30 #1C1861 #2A2492 #3830C3 #615AD6

Accessibility & contrast

On white

11.89
#2A2492 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2A2492 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2492
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2492#FFFFFF#000000##FFFFFF
##2A24921.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C95
Deuteranopia (green-blind)
#003290
Tritanopia (blue-blind)
#004459
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2a2492;
/* rgb */ color: rgb(42, 36, 146);
/* oklch */ color: oklch(35.4% 0.172 275.5);
Tailwind
colors: {
  custom: {
    50: '#7460b3',
    500: '#2a2492',
    950: '#000000',
  },
}
SCSS
$custom: #2a2492;
$custom-light: #7460b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2492",
  "rgb": {
    "r": 42,
    "g": 36,
    "b": 146
  },
  "hsl": {
    "h": 243.273,
    "s": 60.44,
    "l": 35.686
  },
  "oklch": {
    "l": 0.3537,
    "c": 0.17169,
    "h": 275.5
  },
  "luminance": 0.03829
}

Semantic roles & 50–950 ramp

primary
#2A2492
secondary
#B5BB57
accent
#E444DB
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #2A2492

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

Preview Lab → · Contrast checker → · Palette generator →

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