#2B2095#2B2095

#2B2095 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.2% C 0.179 H 276.2°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#2B2095
RGBrgb(43, 32, 149)
HSLhsl(246, 65%, 35%)
HSVhsv(246, 79%, 58%)
CMYKcmyk(71.1%, 78.5%, 0%, 41.6%)
CIE-LABlab(22.71, 42.09, -61.61)
CIE-LCHlch(22.71, 74.62, 304.34°)
OKLaboklab(35.21% 0.0192 -0.1781)
OKLCHoklch(35.21% 0.179 276.2)
XYZxyz(6.9358, 3.7159, 28.7797)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2095 #8A9520
analogous
#204F95 #2B2095 #652095
triadic
#2B2095 #952B20 #20952B
tetradic
#2B2095 #95204F #8A9520 #209565
square
#2B2095 #95204F #8A9520 #209565
split-complementary
#2B2095 #956520 #4F9520
monochromatic
#0E0A30 #1C1563 #2B2095 #3A2BC7 #6155DA

Accessibility & contrast

On white

12.05
#2B2095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#2B2095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2095
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2095#FFFFFF#000000##FFFFFF
##2B20951.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B98
Deuteranopia (green-blind)
#003193
Tritanopia (blue-blind)
#00435A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2b2095;
/* rgb */ color: rgb(43, 32, 149);
/* oklch */ color: oklch(35.2% 0.179 276.2);
Tailwind
colors: {
  custom: {
    50: '#755eb5',
    500: '#2b2095',
    950: '#000000',
  },
}
SCSS
$custom: #2b2095;
$custom-light: #755eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2095",
  "rgb": {
    "r": 43,
    "g": 32,
    "b": 149
  },
  "hsl": {
    "h": 245.641,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35212,
    "c": 0.17913,
    "h": 276.2
  },
  "luminance": 0.03717
}

Semantic roles & 50–950 ramp

primary
#2B2095
secondary
#B4BE53
accent
#E840D8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #2B2095

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

Preview Lab → · Contrast checker → · Palette generator →

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