#2B3884#2B3884

#2B3884 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.7% C 0.128 H 271.5°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#2B3884
RGBrgb(43, 56, 132)
HSLhsl(231, 51%, 34%)
HSVhsv(231, 67%, 52%)
CMYKcmyk(67.4%, 57.6%, 0%, 48.2%)
CIE-LABlab(26.76, 20.95, -44.43)
CIE-LCHlch(26.76, 49.12, 295.25°)
OKLaboklab(37.67% 0.0035 -0.1278)
OKLCHoklch(37.67% 0.128 271.5)
XYZxyz(6.5739, 5.0073, 22.4454)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3884 #84772B
analogous
#2B6584 #2B3884 #4B2B84
triadic
#2B3884 #842B38 #38842B
tetradic
#2B3884 #842B65 #84772B #2B844B
square
#2B3884 #842B65 #84772B #2B844B
split-complementary
#2B3884 #844B2B #65842B
monochromatic
#0D1128 #1C2456 #2B3884 #3A4CB2 #5F6ECB

Accessibility & contrast

On white

10.49
#2B3884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2B3884 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3884
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3884#FFFFFF#000000##FFFFFF
##2B38841.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004387
Deuteranopia (green-blind)
#003B82
Tritanopia (blue-blind)
#004A58
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2b3884;
/* rgb */ color: rgb(43, 56, 132);
/* oklch */ color: oklch(37.7% 0.128 271.5);
Tailwind
colors: {
  custom: {
    50: '#6f6ea8',
    500: '#2b3884',
    950: '#000000',
  },
}
SCSS
$custom: #2b3884;
$custom-light: #6f6ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3884",
  "rgb": {
    "r": 43,
    "g": 56,
    "b": 132
  },
  "hsl": {
    "h": 231.236,
    "s": 50.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37665,
    "c": 0.12781,
    "h": 271.5
  },
  "luminance": 0.05008
}

Semantic roles & 50–950 ramp

primary
#2B3884
secondary
#B1A45A
accent
#C64DDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2B3884

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

Preview Lab → · Contrast checker → · Palette generator →

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