#2B239A#2B239A

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

Color values

HEX#2B239A
RGBrgb(43, 35, 154)
HSLhsl(244, 63%, 37%)
HSVhsv(244, 77%, 60%)
CMYKcmyk(72.1%, 77.3%, 0%, 39.6%)
CIE-LABlab(23.83, 42.09, -62.84)
CIE-LCHlch(23.83, 75.63, 303.82°)
OKLaboklab(36.16% 0.0165 -0.1817)
OKLCHoklch(36.16% 0.182 275.2)
XYZxyz(7.4281, 4.0480, 30.9555)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B239A #929A23
analogous
#23569A #2B239A #67239A
triadic
#2B239A #9A2B23 #239A2B
tetradic
#2B239A #9A2356 #929A23 #239A67
square
#2B239A #9A2356 #929A23 #239A67
split-complementary
#2B239A #9A6723 #569A23
monochromatic
#0F0C36 #1D1868 #2B239A #392ECC #665DDA

Accessibility & contrast

On white

11.60
#2B239A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2B239A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B239A
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B239A#FFFFFF#000000##FFFFFF
##2B239A1.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9D
Deuteranopia (green-blind)
#003398
Tritanopia (blue-blind)
#00465D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2b239a;
/* rgb */ color: rgb(43, 35, 154);
/* oklch */ color: oklch(36.2% 0.182 275.2);
Tailwind
colors: {
  custom: {
    50: '#7660b9',
    500: '#2b239a',
    950: '#000000',
  },
}
SCSS
$custom: #2b239a;
$custom-light: #7660b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b239a",
  "rgb": {
    "r": 43,
    "g": 35,
    "b": 154
  },
  "hsl": {
    "h": 244.034,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36162,
    "c": 0.18245,
    "h": 275.2
  },
  "luminance": 0.04049
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B239A

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

Preview Lab → · Contrast checker → · Palette generator →

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