#2B39B7#2B39B7

#2B39B7 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.5% C 0.196 H 270.2°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#2B39B7
RGBrgb(43, 57, 183)
HSLhsl(234, 62%, 44%)
HSVhsv(234, 77%, 72%)
CMYKcmyk(76.5%, 68.9%, 0%, 28.2%)
CIE-LABlab(31.48, 39.03, -67.70)
CIE-LCHlch(31.48, 78.15, 299.97°)
OKLaboklab(42.52% 0.0007 -0.196)
OKLCHoklch(42.52% 0.196 270.2)
XYZxyz(11.0037, 6.8575, 45.5343)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B39B7 #B7A92B
analogous
#2B7FB7 #2B39B7 #632BB7
triadic
#2B39B7 #B72B39 #39B72B
tetradic
#2B39B7 #B72B7F #B7A92B #2BB763
square
#2B39B7 #B72B7F #B7A92B #2BB763
split-complementary
#2B39B7 #B7632B #7FB72B
monochromatic
#141A54 #1F2A85 #2B39B7 #4B58D5 #7C86E0

Accessibility & contrast

On white

8.85
#2B39B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2B39B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B39B7
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B39B7#FFFFFF#000000##FFFFFF
##2B39B71.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BB
Deuteranopia (green-blind)
#0043B5
Tritanopia (blue-blind)
#005C73
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2b39b7;
/* rgb */ color: rgb(43, 57, 183);
/* oklch */ color: oklch(42.5% 0.196 270.2);
Tailwind
colors: {
  custom: {
    50: '#7b70ce',
    500: '#2b39b7',
    950: '#000000',
  },
}
SCSS
$custom: #2b39b7;
$custom-light: #7b70ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2b39b7",
  "rgb": {
    "r": 43,
    "g": 57,
    "b": 183
  },
  "hsl": {
    "h": 234,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.42521,
    "c": 0.19596,
    "h": 270.2
  },
  "luminance": 0.06859
}

Semantic roles & 50–950 ramp

primary
#2B39B7
secondary
#C9C075
accent
#D543E5
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2B39B7

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

Preview Lab → · Contrast checker → · Palette generator →

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