#2B39A3#2B39A3

#2B39A3 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.6% C 0.170 H 270.8°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#2B39A3
RGBrgb(43, 57, 163)
HSLhsl(233, 58%, 40%)
HSVhsv(233, 74%, 64%)
CMYKcmyk(73.6%, 65%, 0%, 36.1%)
CIE-LABlab(29.62, 31.82, -58.79)
CIE-LCHlch(29.62, 66.85, 298.43°)
OKLaboklab(40.6% 0.0023 -0.1699)
OKLCHoklch(40.6% 0.17 270.8)
XYZxyz(9.0680, 6.0833, 35.3395)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B39A3 #A3952B
analogous
#2B75A3 #2B39A3 #592BA3
triadic
#2B39A3 #A32B39 #39A32B
tetradic
#2B39A3 #A32B75 #A3952B #2BA359
square
#2B39A3 #A32B75 #A3952B #2BA359
split-complementary
#2B39A3 #A3592B #75A32B
monochromatic
#111742 #1E2873 #2B39A3 #3F4FCC #6F7CD9

Accessibility & contrast

On white

9.47
#2B39A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B39A3
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B39A3#FFFFFF#000000##FFFFFF
##2B39A31.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA6
Deuteranopia (green-blind)
#0040A1
Tritanopia (blue-blind)
#005568
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2b39a3;
/* rgb */ color: rgb(43, 57, 163);
/* oklch */ color: oklch(40.6% 0.170 270.8);
Tailwind
colors: {
  custom: {
    50: '#766fbf',
    500: '#2b39a3',
    950: '#000000',
  },
}
SCSS
$custom: #2b39a3;
$custom-light: #766fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b39a3",
  "rgb": {
    "r": 43,
    "g": 57,
    "b": 163
  },
  "hsl": {
    "h": 233,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.40599,
    "c": 0.16992,
    "h": 270.8
  },
  "luminance": 0.06084
}

Semantic roles & 50–950 ramp

primary
#2B39A3
secondary
#C0B66A
accent
#CF46E1
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2B39A3

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

Preview Lab → · Contrast checker → · Palette generator →

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