#2B2592#2B2592

#2B2592 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.6% C 0.170 H 275.8°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#2B2592
RGBrgb(43, 37, 146)
HSLhsl(243, 60%, 36%)
HSVhsv(243, 75%, 57%)
CMYKcmyk(70.5%, 74.7%, 0%, 42.7%)
CIE-LABlab(23.38, 38.29, -58.66)
CIE-LCHlch(23.38, 70.05, 303.14°)
OKLaboklab(35.59% 0.0171 -0.1695)
OKLCHoklch(35.59% 0.17 275.8)
XYZxyz(6.8444, 3.9114, 27.5828)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2592 #8C9225
analogous
#255592 #2B2592 #612592
triadic
#2B2592 #922B25 #25922B
tetradic
#2B2592 #922555 #8C9225 #259261
square
#2B2592 #922555 #8C9225 #259261
split-complementary
#2B2592 #926125 #559225
monochromatic
#0E0C30 #1D1961 #2B2592 #3931C3 #625CD6

Accessibility & contrast

On white

11.78
#2B2592 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B2592
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2592#FFFFFF#000000##FFFFFF
##2B25921.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.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: #2b2592;
/* rgb */ color: rgb(43, 37, 146);
/* oklch */ color: oklch(35.6% 0.170 275.8);
Tailwind
colors: {
  custom: {
    50: '#7461b3',
    500: '#2b2592',
    950: '#000000',
  },
}
SCSS
$custom: #2b2592;
$custom-light: #7461b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2592",
  "rgb": {
    "r": 43,
    "g": 37,
    "b": 146
  },
  "hsl": {
    "h": 243.303,
    "s": 59.563,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35587,
    "c": 0.1704,
    "h": 275.8
  },
  "luminance": 0.03912
}

Semantic roles & 50–950 ramp

primary
#2B2592
secondary
#B5BA58
accent
#E345DA
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #2B2592

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

Preview Lab → · Contrast checker → · Palette generator →

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