#2B39C6#2B39C6

#2B39C6 is a dark, highly saturated blue. Relative luminance 0.075; OKLCH L 44.0% C 0.215 H 269.7°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#2B39C6
RGBrgb(43, 57, 198)
HSLhsl(235, 64%, 47%)
HSVhsv(235, 78%, 78%)
CMYKcmyk(78.3%, 71.2%, 0%, 22.4%)
CIE-LABlab(32.95, 44.27, -74.10)
CIE-LCHlch(32.95, 86.32, 300.86°)
OKLaboklab(44.03% -0.001 -0.2146)
OKLCHoklch(44.03% 0.215 269.7)
XYZxyz(12.6489, 7.5156, 54.1991)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B39C6 #C6B82B
analogous
#2B86C6 #2B39C6 #6B2BC6
triadic
#2B39C6 #C62B39 #39C62B
tetradic
#2B39C6 #C62B86 #C6B82B #2BC66B
square
#2B39C6 #C62B86 #C6B82B #2BC66B
split-complementary
#2B39C6 #C66B2B #86C62B
monochromatic
#151C61 #202B94 #2B39C6 #5460DA #878FE5

Accessibility & contrast

On white

8.39
#2B39C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#2B39C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B39C6
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B39C6#FFFFFF#000000##FFFFFF
##2B39C61.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CA
Deuteranopia (green-blind)
#0046C3
Tritanopia (blue-blind)
#00617C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2b39c6;
/* rgb */ color: rgb(43, 57, 198);
/* oklch */ color: oklch(44.0% 0.215 269.7);
Tailwind
colors: {
  custom: {
    50: '#7f70d9',
    500: '#2b39c6',
    950: '#000000',
  },
}
SCSS
$custom: #2b39c6;
$custom-light: #7f70d9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b39c6",
  "rgb": {
    "r": 43,
    "g": 57,
    "b": 198
  },
  "hsl": {
    "h": 234.581,
    "s": 64.315,
    "l": 47.255
  },
  "oklch": {
    "l": 0.44026,
    "c": 0.21462,
    "h": 269.7
  },
  "luminance": 0.07517
}

Semantic roles & 50–950 ramp

primary
#2B39C6
secondary
#CEC77F
accent
#D840E7
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #2B39C6

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

Preview Lab → · Contrast checker → · Palette generator →

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