#2A2596#2A2596

#2A2596 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.9% C 0.176 H 274.9°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#2A2596
RGBrgb(42, 37, 150)
HSLhsl(243, 60%, 37%)
HSVhsv(243, 75%, 59%)
CMYKcmyk(72%, 75.3%, 0%, 41.2%)
CIE-LABlab(23.73, 39.53, -60.55)
CIE-LCHlch(23.73, 72.32, 303.14°)
OKLaboklab(35.94% 0.015 -0.1751)
OKLCHoklch(35.94% 0.176 274.9)
XYZxyz(7.1196, 4.0167, 29.2483)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2596 #919625
analogous
#255996 #2A2596 #632596
triadic
#2A2596 #962A25 #25962A
tetradic
#2A2596 #962559 #919625 #259663
square
#2A2596 #962559 #919625 #259663
split-complementary
#2A2596 #966325 #599625
monochromatic
#0F0D34 #1C1965 #2A2596 #3831C7 #635ED7

Accessibility & contrast

On white

11.64
#2A2596 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A2596
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2596#FFFFFF#000000##FFFFFF
##2A25961.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E99
Deuteranopia (green-blind)
#003394
Tritanopia (blue-blind)
#00465B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2a2596;
/* rgb */ color: rgb(42, 37, 150);
/* oklch */ color: oklch(35.9% 0.176 274.9);
Tailwind
colors: {
  custom: {
    50: '#7561b6',
    500: '#2a2596',
    950: '#000000',
  },
}
SCSS
$custom: #2a2596;
$custom-light: #7561b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2596",
  "rgb": {
    "r": 42,
    "g": 37,
    "b": 150
  },
  "hsl": {
    "h": 242.655,
    "s": 60.428,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35943,
    "c": 0.17573,
    "h": 274.9
  },
  "luminance": 0.04017
}

Semantic roles & 50–950 ramp

primary
#2A2596
secondary
#B8BC5B
accent
#E444DD
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2A2596

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

Preview Lab → · Contrast checker → · Palette generator →

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