#2B2495#2B2495

#2B2495 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.8% C 0.175 H 275.6°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#2B2495
RGBrgb(43, 36, 149)
HSLhsl(244, 61%, 36%)
HSVhsv(244, 76%, 58%)
CMYKcmyk(71.1%, 75.8%, 0%, 41.6%)
CIE-LABlab(23.49, 39.88, -60.33)
CIE-LCHlch(23.49, 72.32, 303.47°)
OKLaboklab(35.76% 0.0171 -0.1744)
OKLCHoklch(35.76% 0.175 275.6)
XYZxyz(7.0502, 3.9446, 28.8178)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2495 #8E9524
analogous
#245695 #2B2495 #642495
triadic
#2B2495 #952B24 #24952B
tetradic
#2B2495 #952456 #8E9524 #249564
square
#2B2495 #952456 #8E9524 #249564
split-complementary
#2B2495 #956424 #569524
monochromatic
#0F0C32 #1D1864 #2B2495 #3930C6 #635CD8

Accessibility & contrast

On white

11.74
#2B2495 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B2495
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2495#FFFFFF#000000##FFFFFF
##2B24951.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.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: #2b2495;
/* rgb */ color: rgb(43, 36, 149);
/* oklch */ color: oklch(35.8% 0.175 275.6);
Tailwind
colors: {
  custom: {
    50: '#7561b5',
    500: '#2b2495',
    950: '#000000',
  },
}
SCSS
$custom: #2b2495;
$custom-light: #7561b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2495",
  "rgb": {
    "r": 43,
    "g": 36,
    "b": 149
  },
  "hsl": {
    "h": 243.717,
    "s": 61.081,
    "l": 36.275
  },
  "oklch": {
    "l": 0.3576,
    "c": 0.17523,
    "h": 275.6
  },
  "luminance": 0.03945
}

Semantic roles & 50–950 ramp

primary
#2B2495
secondary
#B6BC59
accent
#E444DA
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2B2495

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

Preview Lab → · Contrast checker → · Palette generator →

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