#2B39A5#2B39A5

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

Color values

HEX#2B39A5
RGBrgb(43, 57, 165)
HSLhsl(233, 59%, 41%)
HSVhsv(233, 74%, 65%)
CMYKcmyk(73.9%, 65.5%, 0%, 35.3%)
CIE-LABlab(29.80, 32.56, -59.70)
CIE-LCHlch(29.80, 68.00, 298.61°)
OKLaboklab(40.79% 0.0021 -0.1726)
OKLCHoklch(40.79% 0.173 270.7)
XYZxyz(9.2486, 6.1555, 36.2907)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B39A5 #A5972B
analogous
#2B76A5 #2B39A5 #5A2BA5
triadic
#2B39A5 #A52B39 #39A52B
tetradic
#2B39A5 #A52B76 #A5972B #2BA55A
square
#2B39A5 #A52B76 #A5972B #2BA55A
split-complementary
#2B39A5 #A55A2B #76A52B
monochromatic
#121744 #1E2874 #2B39A5 #4050CD #717DDA

Accessibility & contrast

On white

9.41
#2B39A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2B39A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B39A5
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B39A5#FFFFFF#000000##FFFFFF
##2B39A51.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA8
Deuteranopia (green-blind)
#0041A3
Tritanopia (blue-blind)
#00556A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2b39a5;
/* rgb */ color: rgb(43, 57, 165);
/* oklch */ color: oklch(40.8% 0.173 270.7);
Tailwind
colors: {
  custom: {
    50: '#776fc1',
    500: '#2b39a5',
    950: '#000000',
  },
}
SCSS
$custom: #2b39a5;
$custom-light: #776fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b39a5",
  "rgb": {
    "r": 43,
    "g": 57,
    "b": 165
  },
  "hsl": {
    "h": 233.115,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40786,
    "c": 0.17258,
    "h": 270.7
  },
  "luminance": 0.06156
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B39A5

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

Preview Lab → · Contrast checker → · Palette generator →

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