#2A2594#2A2594

#2A2594 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.7% C 0.173 H 275.1°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#2A2594
RGBrgb(42, 37, 148)
HSLhsl(243, 60%, 36%)
HSVhsv(243, 75%, 58%)
CMYKcmyk(71.6%, 75%, 0%, 42%)
CIE-LABlab(23.51, 38.86, -59.67)
CIE-LCHlch(23.51, 71.21, 303.07°)
OKLaboklab(35.73% 0.0154 -0.1725)
OKLCHoklch(35.73% 0.173 275.1)
XYZxyz(6.9599, 3.9528, 28.4074)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2594 #8F9425
analogous
#255894 #2A2594 #622594
triadic
#2A2594 #942A25 #25942A
tetradic
#2A2594 #942558 #8F9425 #259462
square
#2A2594 #942558 #8F9425 #259462
split-complementary
#2A2594 #946225 #589425
monochromatic
#0E0D32 #1C1963 #2A2594 #3831C5 #625DD6

Accessibility & contrast

On white

11.73
#2A2594 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2A2594 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2594
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2594#FFFFFF#000000##FFFFFF
##2A25941.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D97
Deuteranopia (green-blind)
#003392
Tritanopia (blue-blind)
#00455A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2a2594;
/* rgb */ color: rgb(42, 37, 148);
/* oklch */ color: oklch(35.7% 0.173 275.1);
Tailwind
colors: {
  custom: {
    50: '#7461b5',
    500: '#2a2594',
    950: '#000000',
  },
}
SCSS
$custom: #2a2594;
$custom-light: #7461b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2594",
  "rgb": {
    "r": 42,
    "g": 37,
    "b": 148
  },
  "hsl": {
    "h": 242.703,
    "s": 60,
    "l": 36.275
  },
  "oklch": {
    "l": 0.3573,
    "c": 0.1732,
    "h": 275.1
  },
  "luminance": 0.03953
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A2594

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

Preview Lab → · Contrast checker → · Palette generator →

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