#2B2384#2B2384

#2B2384 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.8% C 0.154 H 277.9°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#2B2384
RGBrgb(43, 35, 132)
HSLhsl(245, 58%, 33%)
HSVhsv(245, 73%, 52%)
CMYKcmyk(67.4%, 73.5%, 0%, 48.2%)
CIE-LABlab(21.51, 34.72, -53.00)
CIE-LCHlch(21.51, 63.36, 303.23°)
OKLaboklab(33.82% 0.0212 -0.153)
OKLCHoklch(33.82% 0.154 277.9)
XYZxyz(5.7608, 3.3811, 22.1744)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2384 #7C8423
analogous
#234C84 #2B2384 #5B2384
triadic
#2B2384 #842B23 #23842B
tetradic
#2B2384 #84234C #7C8423 #23845B
square
#2B2384 #84234C #7C8423 #23845B
split-complementary
#2B2384 #845B23 #4C8423
monochromatic
#0B0923 #1B1654 #2B2384 #3B30B4 #5B51D1

Accessibility & contrast

On white

12.53
#2B2384 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2B2384 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2384
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2384#FFFFFF#000000##FFFFFF
##2B23841.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003887
Deuteranopia (green-blind)
#003082
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2b2384;
/* rgb */ color: rgb(43, 35, 132);
/* oklch */ color: oklch(33.8% 0.154 277.9);
Tailwind
colors: {
  custom: {
    50: '#715fa9',
    500: '#2b2384',
    950: '#000000',
  },
}
SCSS
$custom: #2b2384;
$custom-light: #715fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2384",
  "rgb": {
    "r": 43,
    "g": 35,
    "b": 132
  },
  "hsl": {
    "h": 244.948,
    "s": 58.084,
    "l": 32.745
  },
  "oklch": {
    "l": 0.33824,
    "c": 0.15447,
    "h": 277.9
  },
  "luminance": 0.03382
}

Semantic roles & 50–950 ramp

primary
#2B2384
secondary
#ACB44E
accent
#E146D5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2B2384

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

Preview Lab → · Contrast checker → · Palette generator →

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