#2A2592#2A2592

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

Color values

HEX#2A2592
RGBrgb(42, 37, 146)
HSLhsl(243, 60%, 36%)
HSVhsv(243, 75%, 57%)
CMYKcmyk(71.2%, 74.7%, 0%, 42.7%)
CIE-LABlab(23.30, 38.18, -58.78)
CIE-LCHlch(23.30, 70.09, 303.01°)
OKLaboklab(35.52% 0.0158 -0.1699)
OKLCHoklch(35.52% 0.171 275.3)
XYZxyz(6.8030, 3.8901, 27.5809)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2592 #8D9225
analogous
#255692 #2A2592 #602592
triadic
#2A2592 #922A25 #25922A
tetradic
#2A2592 #922556 #8D9225 #259260
square
#2A2592 #922556 #8D9225 #259260
split-complementary
#2A2592 #926025 #569225
monochromatic
#0E0C30 #1C1961 #2A2592 #3831C3 #615CD6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A2592#FFFFFF#000000##FFFFFF
##2A25921.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)
#003C95
Deuteranopia (green-blind)
#003390
Tritanopia (blue-blind)
#004459
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2a2592;
/* rgb */ color: rgb(42, 37, 146);
/* oklch */ color: oklch(35.5% 0.171 275.3);
Tailwind
colors: {
  custom: {
    50: '#7461b3',
    500: '#2a2592',
    950: '#000000',
  },
}
SCSS
$custom: #2a2592;
$custom-light: #7461b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2592",
  "rgb": {
    "r": 42,
    "g": 37,
    "b": 146
  },
  "hsl": {
    "h": 242.752,
    "s": 59.563,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35517,
    "c": 0.17065,
    "h": 275.3
  },
  "luminance": 0.03891
}

Semantic roles & 50–950 ramp

primary
#2A2592
secondary
#B6BA58
accent
#E345DC
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #2A2592

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

Preview Lab → · Contrast checker → · Palette generator →

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