#2B2294#2B2294

#2B2294 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.4% C 0.176 H 276.0°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#2B2294
RGBrgb(43, 34, 148)
HSLhsl(245, 63%, 36%)
HSVhsv(245, 77%, 58%)
CMYKcmyk(70.9%, 77%, 0%, 42%)
CIE-LABlab(22.98, 40.67, -60.54)
CIE-LCHlch(22.98, 72.94, 303.89°)
OKLaboklab(35.37% 0.0184 -0.175)
OKLCHoklch(35.37% 0.176 276)
XYZxyz(6.9118, 3.7951, 28.3795)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2294 #8B9422
analogous
#225294 #2B2294 #642294
triadic
#2B2294 #942B22 #22942B
tetradic
#2B2294 #942252 #8B9422 #229464
square
#2B2294 #942252 #8B9422 #229464
split-complementary
#2B2294 #946422 #529422
monochromatic
#0E0B30 #1D1762 #2B2294 #392DC6 #6258D9

Accessibility & contrast

On white

11.94
#2B2294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2B2294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2294
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2294#FFFFFF#000000##FFFFFF
##2B22941.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C97
Deuteranopia (green-blind)
#003292
Tritanopia (blue-blind)
#00435A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2b2294;
/* rgb */ color: rgb(43, 34, 148);
/* oklch */ color: oklch(35.4% 0.176 276.0);
Tailwind
colors: {
  custom: {
    50: '#755fb5',
    500: '#2b2294',
    950: '#000000',
  },
}
SCSS
$custom: #2b2294;
$custom-light: #755fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2294",
  "rgb": {
    "r": 43,
    "g": 34,
    "b": 148
  },
  "hsl": {
    "h": 244.737,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35372,
    "c": 0.17598,
    "h": 276
  },
  "luminance": 0.03796
}

Semantic roles & 50–950 ramp

primary
#2B2294
secondary
#B5BD55
accent
#E642D9
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2B2294

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

Preview Lab → · Contrast checker → · Palette generator →

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