#2B2194#2B2194

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

Color values

HEX#2B2194
RGBrgb(43, 33, 148)
HSLhsl(245, 64%, 35%)
HSVhsv(245, 78%, 58%)
CMYKcmyk(70.9%, 77.7%, 0%, 42%)
CIE-LABlab(22.79, 41.22, -60.86)
CIE-LCHlch(22.79, 73.51, 304.11°)
OKLaboklab(35.24% 0.0189 -0.1759)
OKLCHoklch(35.24% 0.177 276.1)
XYZxyz(6.8837, 3.7388, 28.3701)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2194 #8A9421
analogous
#215194 #2B2194 #642194
triadic
#2B2194 #942B21 #21942B
tetradic
#2B2194 #942151 #8A9421 #219464
square
#2B2194 #942151 #8A9421 #219464
split-complementary
#2B2194 #946421 #519421
monochromatic
#0E0B30 #1C1662 #2B2194 #3A2CC6 #6156D9

Accessibility & contrast

On white

12.02
#2B2194 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#2B2194 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2194
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2194#FFFFFF#000000##FFFFFF
##2B21941.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B97
Deuteranopia (green-blind)
#003192
Tritanopia (blue-blind)
#004359
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2b2194;
/* rgb */ color: rgb(43, 33, 148);
/* oklch */ color: oklch(35.2% 0.177 276.1);
Tailwind
colors: {
  custom: {
    50: '#755fb5',
    500: '#2b2194',
    950: '#000000',
  },
}
SCSS
$custom: #2b2194;
$custom-light: #755fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2194",
  "rgb": {
    "r": 43,
    "g": 33,
    "b": 148
  },
  "hsl": {
    "h": 245.217,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35235,
    "c": 0.17696,
    "h": 276.1
  },
  "luminance": 0.03739
}

Semantic roles & 50–950 ramp

primary
#2B2194
secondary
#B4BD54
accent
#E741D8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2B2194

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

Preview Lab → · Contrast checker → · Palette generator →

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