#2A2595#2A2595

#2A2595 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.8% C 0.174 H 275.0°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#2A2595
RGBrgb(42, 37, 149)
HSLhsl(243, 60%, 36%)
HSVhsv(243, 75%, 58%)
CMYKcmyk(71.8%, 75.2%, 0%, 41.6%)
CIE-LABlab(23.62, 39.20, -60.11)
CIE-LCHlch(23.62, 71.76, 303.11°)
OKLaboklab(35.84% 0.0152 -0.1738)
OKLCHoklch(35.84% 0.174 275)
XYZxyz(7.0394, 3.9846, 28.8261)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2595 #909525
analogous
#255895 #2A2595 #622595
triadic
#2A2595 #952A25 #25952A
tetradic
#2A2595 #952558 #909525 #259562
square
#2A2595 #952558 #909525 #259562
split-complementary
#2A2595 #956225 #589525
monochromatic
#0E0D33 #1C1964 #2A2595 #3831C6 #635ED7

Accessibility & contrast

On white

11.69
#2A2595 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2A2595 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2595
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2595#FFFFFF#000000##FFFFFF
##2A25951.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D98
Deuteranopia (green-blind)
#003393
Tritanopia (blue-blind)
#00455B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2a2595;
/* rgb */ color: rgb(42, 37, 149);
/* oklch */ color: oklch(35.8% 0.174 275.0);
Tailwind
colors: {
  custom: {
    50: '#7461b5',
    500: '#2a2595',
    950: '#000000',
  },
}
SCSS
$custom: #2a2595;
$custom-light: #7461b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2595",
  "rgb": {
    "r": 42,
    "g": 37,
    "b": 149
  },
  "hsl": {
    "h": 242.679,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.35836,
    "c": 0.17446,
    "h": 275
  },
  "luminance": 0.03985
}

Semantic roles & 50–950 ramp

primary
#2A2595
secondary
#B7BC5A
accent
#E344DC
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2A2595

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

Preview Lab → · Contrast checker → · Palette generator →

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