#2B2299#2B2299

#2B2299 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.9% C 0.182 H 275.4°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#2B2299
RGBrgb(43, 34, 153)
HSLhsl(245, 64%, 37%)
HSVhsv(245, 78%, 60%)
CMYKcmyk(71.9%, 77.8%, 0%, 40%)
CIE-LABlab(23.53, 42.31, -62.72)
CIE-LCHlch(23.53, 75.66, 304.00°)
OKLaboklab(35.92% 0.0172 -0.1813)
OKLCHoklch(35.92% 0.182 275.4)
XYZxyz(7.3162, 3.9569, 30.5090)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2299 #909922
analogous
#225599 #2B2299 #672299
triadic
#2B2299 #992B22 #22992B
tetradic
#2B2299 #992255 #909922 #229967
square
#2B2299 #992255 #909922 #229967
split-complementary
#2B2299 #996722 #559922
monochromatic
#0F0C35 #1D1767 #2B2299 #392DCB #655BDB

Accessibility & contrast

On white

11.72
#2B2299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2B2299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2299
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2299#FFFFFF#000000##FFFFFF
##2B22991.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9C
Deuteranopia (green-blind)
#003397
Tritanopia (blue-blind)
#00455C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2b2299;
/* rgb */ color: rgb(43, 34, 153);
/* oklch */ color: oklch(35.9% 0.182 275.4);
Tailwind
colors: {
  custom: {
    50: '#7660b8',
    500: '#2b2299',
    950: '#000000',
  },
}
SCSS
$custom: #2b2299;
$custom-light: #7660b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2299",
  "rgb": {
    "r": 43,
    "g": 34,
    "b": 153
  },
  "hsl": {
    "h": 244.538,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35918,
    "c": 0.18217,
    "h": 275.4
  },
  "luminance": 0.03958
}

Semantic roles & 50–950 ramp

primary
#2B2299
secondary
#B7BF58
accent
#E741DA
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2B2299

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

Preview Lab → · Contrast checker → · Palette generator →

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