#2B3886#2B3886

#2B3886 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.8% C 0.131 H 271.5°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#2B3886
RGBrgb(43, 56, 134)
HSLhsl(231, 51%, 35%)
HSVhsv(231, 68%, 53%)
CMYKcmyk(67.9%, 58.2%, 0%, 47.5%)
CIE-LABlab(26.91, 21.70, -45.42)
CIE-LCHlch(26.91, 50.34, 295.54°)
OKLaboklab(37.83% 0.0035 -0.1307)
OKLCHoklch(37.83% 0.131 271.5)
XYZxyz(6.7121, 5.0626, 23.1731)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3886 #86792B
analogous
#2B6586 #2B3886 #4C2B86
triadic
#2B3886 #862B38 #38862B
tetradic
#2B3886 #862B65 #86792B #2B864C
square
#2B3886 #862B65 #86792B #2B864C
split-complementary
#2B3886 #864C2B #65862B
monochromatic
#0D1129 #1C2558 #2B3886 #3A4BB4 #606FCC

Accessibility & contrast

On white

10.43
#2B3886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2B3886 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3886
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3886#FFFFFF#000000##FFFFFF
##2B38861.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004489
Deuteranopia (green-blind)
#003C84
Tritanopia (blue-blind)
#004B59
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2b3886;
/* rgb */ color: rgb(43, 56, 134);
/* oklch */ color: oklch(37.8% 0.131 271.5);
Tailwind
colors: {
  custom: {
    50: '#706eaa',
    500: '#2b3886',
    950: '#000000',
  },
}
SCSS
$custom: #2b3886;
$custom-light: #706eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3886",
  "rgb": {
    "r": 43,
    "g": 56,
    "b": 134
  },
  "hsl": {
    "h": 231.429,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37832,
    "c": 0.13073,
    "h": 271.5
  },
  "luminance": 0.05063
}

Semantic roles & 50–950 ramp

primary
#2B3886
secondary
#B2A55B
accent
#C74DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2B3886

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

Preview Lab → · Contrast checker → · Palette generator →

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