#2B2595#2B2595

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

Color values

HEX#2B2595
RGBrgb(43, 37, 149)
HSLhsl(243, 60%, 36%)
HSVhsv(243, 75%, 58%)
CMYKcmyk(71.1%, 75.2%, 0%, 41.6%)
CIE-LABlab(23.69, 39.30, -59.99)
CIE-LCHlch(23.69, 71.72, 303.23°)
OKLaboklab(35.91% 0.0165 -0.1734)
OKLCHoklch(35.91% 0.174 275.4)
XYZxyz(7.0809, 4.0060, 28.8280)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2595 #8F9525
analogous
#255795 #2B2595 #632595
triadic
#2B2595 #952B25 #25952B
tetradic
#2B2595 #952557 #8F9525 #259563
square
#2B2595 #952557 #8F9525 #259563
split-complementary
#2B2595 #956325 #579525
monochromatic
#0F0D33 #1D1964 #2B2595 #3931C6 #645ED7

Accessibility & contrast

On white

11.66
#2B2595 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B2595
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2595#FFFFFF#000000##FFFFFF
##2B25951.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.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: #2b2595;
/* rgb */ color: rgb(43, 37, 149);
/* oklch */ color: oklch(35.9% 0.174 275.4);
Tailwind
colors: {
  custom: {
    50: '#7561b5',
    500: '#2b2595',
    950: '#000000',
  },
}
SCSS
$custom: #2b2595;
$custom-light: #7561b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2595",
  "rgb": {
    "r": 43,
    "g": 37,
    "b": 149
  },
  "hsl": {
    "h": 243.214,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.35905,
    "c": 0.17422,
    "h": 275.4
  },
  "luminance": 0.04007
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B2595

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

Preview Lab → · Contrast checker → · Palette generator →

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