#2B39A6#2B39A6

#2B39A6 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.9% C 0.174 H 270.7°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#2B39A6
RGBrgb(43, 57, 166)
HSLhsl(233, 59%, 41%)
HSVhsv(233, 74%, 65%)
CMYKcmyk(74.1%, 65.7%, 0%, 34.9%)
CIE-LABlab(29.89, 32.92, -60.15)
CIE-LCHlch(29.89, 68.57, 298.69°)
OKLaboklab(40.88% 0.0021 -0.1739)
OKLCHoklch(40.88% 0.174 270.7)
XYZxyz(9.3400, 6.1920, 36.7719)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B39A6 #A6982B
analogous
#2B76A6 #2B39A6 #5A2BA6
triadic
#2B39A6 #A62B39 #39A62B
tetradic
#2B39A6 #A62B76 #A6982B #2BA65A
square
#2B39A6 #A62B76 #A6982B #2BA65A
split-complementary
#2B39A6 #A65A2B #76A62B
monochromatic
#121845 #1E2875 #2B39A6 #4151CE #717DDA

Accessibility & contrast

On white

9.38
#2B39A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2B39A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B39A6
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B39A6#FFFFFF#000000##FFFFFF
##2B39A61.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA9
Deuteranopia (green-blind)
#0041A4
Tritanopia (blue-blind)
#00566A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2b39a6;
/* rgb */ color: rgb(43, 57, 166);
/* oklch */ color: oklch(40.9% 0.174 270.7);
Tailwind
colors: {
  custom: {
    50: '#776fc1',
    500: '#2b39a6',
    950: '#000000',
  },
}
SCSS
$custom: #2b39a6;
$custom-light: #776fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b39a6",
  "rgb": {
    "r": 43,
    "g": 57,
    "b": 166
  },
  "hsl": {
    "h": 233.171,
    "s": 58.852,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4088,
    "c": 0.17391,
    "h": 270.7
  },
  "luminance": 0.06193
}

Semantic roles & 50–950 ramp

primary
#2B39A6
secondary
#C1B86B
accent
#D046E2
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2B39A6

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

Preview Lab → · Contrast checker → · Palette generator →

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