#2B2399#2B2399

#2B2399 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.1% C 0.181 H 275.3°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#2B2399
RGBrgb(43, 35, 153)
HSLhsl(244, 63%, 37%)
HSVhsv(244, 77%, 60%)
CMYKcmyk(71.9%, 77.1%, 0%, 40%)
CIE-LABlab(23.72, 41.76, -62.40)
CIE-LCHlch(23.72, 75.09, 303.79°)
OKLaboklab(36.05% 0.0167 -0.1804)
OKLCHoklch(36.05% 0.181 275.3)
XYZxyz(7.3452, 4.0149, 30.5187)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2399 #919923
analogous
#235699 #2B2399 #662399
triadic
#2B2399 #992B23 #23992B
tetradic
#2B2399 #992356 #919923 #239966
square
#2B2399 #992356 #919923 #239966
split-complementary
#2B2399 #996623 #569923
monochromatic
#0F0C35 #1D1867 #2B2399 #392ECB #655DDA

Accessibility & contrast

On white

11.65
#2B2399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2B2399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2399
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2399#FFFFFF#000000##FFFFFF
##2B23991.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9C
Deuteranopia (green-blind)
#003397
Tritanopia (blue-blind)
#00465D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2b2399;
/* rgb */ color: rgb(43, 35, 153);
/* oklch */ color: oklch(36.1% 0.181 275.3);
Tailwind
colors: {
  custom: {
    50: '#7660b8',
    500: '#2b2399',
    950: '#000000',
  },
}
SCSS
$custom: #2b2399;
$custom-light: #7660b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2399",
  "rgb": {
    "r": 43,
    "g": 35,
    "b": 153
  },
  "hsl": {
    "h": 244.068,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36053,
    "c": 0.18121,
    "h": 275.3
  },
  "luminance": 0.04016
}

Semantic roles & 50–950 ramp

primary
#2B2399
secondary
#B8BE59
accent
#E642DB
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2B2399

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

Preview Lab → · Contrast checker → · Palette generator →

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