#2B3484#2B3484

#2B3484 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.9% C 0.133 H 273.1°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#2B3484
RGBrgb(43, 52, 132)
HSLhsl(234, 51%, 34%)
HSVhsv(234, 67%, 52%)
CMYKcmyk(67.4%, 60.6%, 0%, 48.2%)
CIE-LABlab(25.67, 23.68, -46.19)
CIE-LCHlch(25.67, 51.91, 297.14°)
OKLaboklab(36.85% 0.0072 -0.133)
OKLCHoklch(36.85% 0.133 273.1)
XYZxyz(6.3877, 4.6350, 22.3833)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3484 #847B2B
analogous
#2B6184 #2B3484 #4F2B84
triadic
#2B3484 #842B34 #34842B
tetradic
#2B3484 #842B61 #847B2B #2B844F
square
#2B3484 #842B61 #847B2B #2B844F
split-complementary
#2B3484 #844F2B #61842B
monochromatic
#0D1028 #1C2256 #2B3484 #3A46B2 #5F6ACB

Accessibility & contrast

On white

10.90
#2B3484 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2B3484 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3484
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3484#FFFFFF#000000##FFFFFF
##2B34841.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004187
Deuteranopia (green-blind)
#003982
Tritanopia (blue-blind)
#004856
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2b3484;
/* rgb */ color: rgb(43, 52, 132);
/* oklch */ color: oklch(36.9% 0.133 273.1);
Tailwind
colors: {
  custom: {
    50: '#706ba8',
    500: '#2b3484',
    950: '#000000',
  },
}
SCSS
$custom: #2b3484;
$custom-light: #706ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3484",
  "rgb": {
    "r": 43,
    "g": 52,
    "b": 132
  },
  "hsl": {
    "h": 233.933,
    "s": 50.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36854,
    "c": 0.13319,
    "h": 273.1
  },
  "luminance": 0.04636
}

Semantic roles & 50–950 ramp

primary
#2B3484
secondary
#B1A85A
accent
#CC4DDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2B3484

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

Preview Lab → · Contrast checker → · Palette generator →

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