#2B3D84#2B3D84

#2B3D84 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.7% C 0.121 H 269.3°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#2B3D84
RGBrgb(43, 61, 132)
HSLhsl(228, 51%, 34%)
HSVhsv(228, 67%, 52%)
CMYKcmyk(67.4%, 53.8%, 0%, 48.2%)
CIE-LABlab(28.16, 17.52, -42.16)
CIE-LCHlch(28.16, 45.66, 292.57°)
OKLaboklab(38.72% -0.0014 -0.121)
OKLCHoklch(38.72% 0.121 269.3)
XYZxyz(6.8284, 5.5164, 22.5302)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3D84 #84722B
analogous
#2B6A84 #2B3D84 #462B84
triadic
#2B3D84 #842B3D #3D842B
tetradic
#2B3D84 #842B6A #84722B #2B8446
square
#2B3D84 #842B6A #84722B #2B8446
split-complementary
#2B3D84 #84462B #6A842B
monochromatic
#0D1228 #1C2856 #2B3D84 #3A52B2 #5F75CB

Accessibility & contrast

On white

9.98
#2B3D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2B3D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3D84
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3D84#FFFFFF#000000##FFFFFF
##2B3D841.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114787
Deuteranopia (green-blind)
#003F83
Tritanopia (blue-blind)
#004E5A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2b3d84;
/* rgb */ color: rgb(43, 61, 132);
/* oklch */ color: oklch(38.7% 0.121 269.3);
Tailwind
colors: {
  custom: {
    50: '#6f72a8',
    500: '#2b3d84',
    950: '#000000',
  },
}
SCSS
$custom: #2b3d84;
$custom-light: #6f72a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3d84",
  "rgb": {
    "r": 43,
    "g": 61,
    "b": 132
  },
  "hsl": {
    "h": 227.865,
    "s": 50.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.3872,
    "c": 0.12102,
    "h": 269.3
  },
  "luminance": 0.05517
}

Semantic roles & 50–950 ramp

primary
#2B3D84
secondary
#B19F5A
accent
#BE4DDA
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2B3D84

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

Preview Lab → · Contrast checker → · Palette generator →

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