#2D2B91#2D2B91

#2D2B91 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.6% C 0.162 H 275.7°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#2D2B91
RGBrgb(45, 43, 145)
HSLhsl(241, 54%, 37%)
HSVhsv(241, 70%, 57%)
CMYKcmyk(69%, 70.3%, 0%, 43.1%)
CIE-LABlab(24.73, 34.57, -55.80)
CIE-LCHlch(24.73, 65.64, 301.77°)
OKLaboklab(36.56% 0.016 -0.1612)
OKLCHoklch(36.56% 0.162 275.7)
XYZxyz(7.0552, 4.3293, 27.2464)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2B91 #8F912B
analogous
#2B5C91 #2D2B91 #602B91
triadic
#2D2B91 #912D2B #2B912D
tetradic
#2D2B91 #912B5C #8F912B #2B9160
square
#2D2B91 #912B5C #8F912B #2B9160
split-complementary
#2D2B91 #91602B #5C912B
monochromatic
#100F33 #1E1D62 #2D2B91 #3C39C0 #6765D1

Accessibility & contrast

On white

11.25
#2D2B91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2D2B91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2B91
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2B91#FFFFFF#000000##FFFFFF
##2D2B911.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F94
Deuteranopia (green-blind)
#00368F
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2d2b91;
/* rgb */ color: rgb(45, 43, 145);
/* oklch */ color: oklch(36.6% 0.162 275.7);
Tailwind
colors: {
  custom: {
    50: '#7465b2',
    500: '#2d2b91',
    950: '#000000',
  },
}
SCSS
$custom: #2d2b91;
$custom-light: #7465b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2b91",
  "rgb": {
    "r": 45,
    "g": 43,
    "b": 145
  },
  "hsl": {
    "h": 241.176,
    "s": 54.255,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36564,
    "c": 0.16196,
    "h": 275.7
  },
  "luminance": 0.0433
}

Semantic roles & 50–950 ramp

primary
#2D2B91
secondary
#B6B860
accent
#DE4ADB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #2D2B91

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

Preview Lab → · Contrast checker → · Palette generator →

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