#2B39A4#2B39A4

#2B39A4 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.7% C 0.171 H 270.7°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#2B39A4
RGBrgb(43, 57, 164)
HSLhsl(233, 58%, 41%)
HSVhsv(233, 74%, 64%)
CMYKcmyk(73.8%, 65.2%, 0%, 35.7%)
CIE-LABlab(29.71, 32.19, -59.24)
CIE-LCHlch(29.71, 67.42, 298.52°)
OKLaboklab(40.69% 0.0022 -0.1712)
OKLCHoklch(40.69% 0.171 270.7)
XYZxyz(9.1579, 6.1192, 35.8133)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B39A4 #A4962B
analogous
#2B75A4 #2B39A4 #592BA4
triadic
#2B39A4 #A42B39 #39A42B
tetradic
#2B39A4 #A42B75 #A4962B #2BA459
square
#2B39A4 #A42B75 #A4962B #2BA459
split-complementary
#2B39A4 #A4592B #75A42B
monochromatic
#121743 #1E2874 #2B39A4 #3F50CD #707CD9

Accessibility & contrast

On white

9.44
#2B39A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2B39A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B39A4
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B39A4#FFFFFF#000000##FFFFFF
##2B39A41.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA7
Deuteranopia (green-blind)
#0040A2
Tritanopia (blue-blind)
#005569
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2b39a4;
/* rgb */ color: rgb(43, 57, 164);
/* oklch */ color: oklch(40.7% 0.171 270.7);
Tailwind
colors: {
  custom: {
    50: '#776fc0',
    500: '#2b39a4',
    950: '#000000',
  },
}
SCSS
$custom: #2b39a4;
$custom-light: #776fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b39a4",
  "rgb": {
    "r": 43,
    "g": 57,
    "b": 164
  },
  "hsl": {
    "h": 233.058,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40693,
    "c": 0.17125,
    "h": 270.7
  },
  "luminance": 0.0612
}

Semantic roles & 50–950 ramp

primary
#2B39A4
secondary
#C1B76A
accent
#D046E2
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2B39A4

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

Preview Lab → · Contrast checker → · Palette generator →

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