#2B239B#2B239B

#2B239B is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.3% C 0.184 H 275.1°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#2B239B
RGBrgb(43, 35, 155)
HSLhsl(244, 63%, 37%)
HSVhsv(244, 77%, 61%)
CMYKcmyk(72.3%, 77.4%, 0%, 39.2%)
CIE-LABlab(23.94, 42.42, -63.27)
CIE-LCHlch(23.94, 76.17, 303.84°)
OKLaboklab(36.27% 0.0163 -0.183)
OKLCHoklch(36.27% 0.184 275.1)
XYZxyz(7.5117, 4.0815, 31.3959)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B239B #939B23
analogous
#23579B #2B239B #67239B
triadic
#2B239B #9B2B23 #239B2B
tetradic
#2B239B #9B2357 #939B23 #239B67
square
#2B239B #9B2357 #939B23 #239B67
split-complementary
#2B239B #9B6723 #579B23
monochromatic
#0F0C37 #1D1869 #2B239B #392ECD #665EDB

Accessibility & contrast

On white

11.56
#2B239B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2B239B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B239B
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B239B#FFFFFF#000000##FFFFFF
##2B239B1.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9E
Deuteranopia (green-blind)
#003399
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2b239b;
/* rgb */ color: rgb(43, 35, 155);
/* oklch */ color: oklch(36.3% 0.184 275.1);
Tailwind
colors: {
  custom: {
    50: '#7660ba',
    500: '#2b239b',
    950: '#000000',
  },
}
SCSS
$custom: #2b239b;
$custom-light: #7660ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2b239b",
  "rgb": {
    "r": 43,
    "g": 35,
    "b": 155
  },
  "hsl": {
    "h": 244,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36272,
    "c": 0.18368,
    "h": 275.1
  },
  "luminance": 0.04082
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B239B

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

Preview Lab → · Contrast checker → · Palette generator →

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