#2B39AA#2B39AA

#2B39AA is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.3% C 0.179 H 270.6°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#2B39AA
RGBrgb(43, 57, 170)
HSLhsl(233, 60%, 42%)
HSVhsv(233, 75%, 67%)
CMYKcmyk(74.7%, 66.5%, 0%, 33.3%)
CIE-LABlab(30.26, 34.37, -61.96)
CIE-LCHlch(30.26, 70.86, 299.02°)
OKLaboklab(41.26% 0.0018 -0.1792)
OKLCHoklch(41.26% 0.179 270.6)
XYZxyz(9.7126, 6.3411, 38.7345)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B39AA #AA9C2B
analogous
#2B79AA #2B39AA #5D2BAA
triadic
#2B39AA #AA2B39 #39AA2B
tetradic
#2B39AA #AA2B79 #AA9C2B #2BAA5D
square
#2B39AA #AA2B79 #AA9C2B #2BAA5D
split-complementary
#2B39AA #AA5D2B #79AA2B
monochromatic
#121848 #1F2979 #2B39AA #4352CF #747FDC

Accessibility & contrast

On white

9.26
#2B39AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2B39AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B39AA
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B39AA#FFFFFF#000000##FFFFFF
##2B39AA1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAE
Deuteranopia (green-blind)
#0041A8
Tritanopia (blue-blind)
#00576C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2b39aa;
/* rgb */ color: rgb(43, 57, 170);
/* oklch */ color: oklch(41.3% 0.179 270.6);
Tailwind
colors: {
  custom: {
    50: '#786fc4',
    500: '#2b39aa',
    950: '#000000',
  },
}
SCSS
$custom: #2b39aa;
$custom-light: #786fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b39aa",
  "rgb": {
    "r": 43,
    "g": 57,
    "b": 170
  },
  "hsl": {
    "h": 233.386,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.41259,
    "c": 0.17919,
    "h": 270.6
  },
  "luminance": 0.06342
}

Semantic roles & 50–950 ramp

primary
#2B39AA
secondary
#C3BA6E
accent
#D145E3
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2B39AA

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

Preview Lab → · Contrast checker → · Palette generator →

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