#2B2995#2B2995

#2B2995 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.5% C 0.170 H 274.8°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#2B2995
RGBrgb(43, 41, 149)
HSLhsl(241, 57%, 37%)
HSVhsv(241, 72%, 58%)
CMYKcmyk(71.1%, 72.5%, 0%, 41.6%)
CIE-LABlab(24.54, 36.94, -58.59)
CIE-LCHlch(24.54, 69.26, 302.23°)
OKLaboklab(36.51% 0.0142 -0.1694)
OKLCHoklch(36.51% 0.17 274.8)
XYZxyz(7.2122, 4.2687, 28.8718)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2995 #939529
analogous
#295D95 #2B2995 #612995
triadic
#2B2995 #952B29 #29952B
tetradic
#2B2995 #95295D #939529 #299561
square
#2B2995 #95295D #939529 #299561
split-complementary
#2B2995 #956129 #5D9529
monochromatic
#0F0F35 #1D1C65 #2B2995 #3936C5 #6664D4

Accessibility & contrast

On white

11.33
#2B2995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2B2995 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2995
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2995#FFFFFF#000000##FFFFFF
##2B29951.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F98
Deuteranopia (green-blind)
#003593
Tritanopia (blue-blind)
#00475C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2b2995;
/* rgb */ color: rgb(43, 41, 149);
/* oklch */ color: oklch(36.5% 0.170 274.8);
Tailwind
colors: {
  custom: {
    50: '#7464b5',
    500: '#2b2995',
    950: '#000000',
  },
}
SCSS
$custom: #2b2995;
$custom-light: #7464b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2995",
  "rgb": {
    "r": 43,
    "g": 41,
    "b": 149
  },
  "hsl": {
    "h": 241.111,
    "s": 56.842,
    "l": 37.255
  },
  "oklch": {
    "l": 0.3651,
    "c": 0.16996,
    "h": 274.8
  },
  "luminance": 0.04269
}

Semantic roles & 50–950 ramp

primary
#2B2995
secondary
#B9BA60
accent
#E048DD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #2B2995

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

Preview Lab → · Contrast checker → · Palette generator →

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