#2B3482#2B3482

#2B3482 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.7% C 0.130 H 273.2°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#2B3482
RGBrgb(43, 52, 130)
HSLhsl(234, 50%, 34%)
HSVhsv(234, 67%, 51%)
CMYKcmyk(66.9%, 60%, 0%, 49%)
CIE-LABlab(25.51, 22.94, -45.21)
CIE-LCHlch(25.51, 50.69, 296.90°)
OKLaboklab(36.68% 0.0072 -0.1301)
OKLCHoklch(36.68% 0.13 273.2)
XYZxyz(6.2522, 4.5807, 21.6695)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3482 #82792B
analogous
#2B6082 #2B3482 #4E2B82
triadic
#2B3482 #822B34 #34822B
tetradic
#2B3482 #822B60 #82792B #2B824E
square
#2B3482 #822B60 #82792B #2B824E
split-complementary
#2B3482 #824E2B #60822B
monochromatic
#0D0F26 #1C2254 #2B3482 #3A46B0 #5E69CA

Accessibility & contrast

On white

10.96
#2B3482 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2B3482 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3482
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3482#FFFFFF#000000##FFFFFF
##2B34821.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004085
Deuteranopia (green-blind)
#003980
Tritanopia (blue-blind)
#004755
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2b3482;
/* rgb */ color: rgb(43, 52, 130);
/* oklch */ color: oklch(36.7% 0.130 273.2);
Tailwind
colors: {
  custom: {
    50: '#6f6ba7',
    500: '#2b3482',
    950: '#000000',
  },
}
SCSS
$custom: #2b3482;
$custom-light: #6f6ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3482",
  "rgb": {
    "r": 43,
    "g": 52,
    "b": 130
  },
  "hsl": {
    "h": 233.793,
    "s": 50.289,
    "l": 33.922
  },
  "oklch": {
    "l": 0.36682,
    "c": 0.13029,
    "h": 273.2
  },
  "luminance": 0.04581
}

Semantic roles & 50–950 ramp

primary
#2B3482
secondary
#B0A759
accent
#CB4EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2B3482

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

Preview Lab → · Contrast checker → · Palette generator →

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