#2B3784#2B3784

#2B3784 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.5% C 0.129 H 272.0°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#2B3784
RGBrgb(43, 55, 132)
HSLhsl(232, 51%, 34%)
HSVhsv(232, 67%, 52%)
CMYKcmyk(67.4%, 58.3%, 0%, 48.2%)
CIE-LABlab(26.48, 21.63, -44.88)
CIE-LCHlch(26.48, 49.82, 295.74°)
OKLaboklab(37.46% 0.0044 -0.1291)
OKLCHoklch(37.46% 0.129 272)
XYZxyz(6.5259, 4.9113, 22.4294)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3784 #84782B
analogous
#2B6484 #2B3784 #4C2B84
triadic
#2B3784 #842B37 #37842B
tetradic
#2B3784 #842B64 #84782B #2B844C
square
#2B3784 #842B64 #84782B #2B844C
split-complementary
#2B3784 #844C2B #64842B
monochromatic
#0D1128 #1C2456 #2B3784 #3A4AB2 #5F6DCB

Accessibility & contrast

On white

10.59
#2B3784 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2B3784 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3784
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3784#FFFFFF#000000##FFFFFF
##2B37841.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.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: #2b3784;
/* rgb */ color: rgb(43, 55, 132);
/* oklch */ color: oklch(37.5% 0.129 272.0);
Tailwind
colors: {
  custom: {
    50: '#6f6da8',
    500: '#2b3784',
    950: '#000000',
  },
}
SCSS
$custom: #2b3784;
$custom-light: #6f6da8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3784",
  "rgb": {
    "r": 43,
    "g": 55,
    "b": 132
  },
  "hsl": {
    "h": 231.91,
    "s": 50.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37459,
    "c": 0.12915,
    "h": 272
  },
  "luminance": 0.04912
}

Semantic roles & 50–950 ramp

primary
#2B3784
secondary
#B1A55A
accent
#C74DDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2B3784

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

Preview Lab → · Contrast checker → · Palette generator →

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