#2B3488#2B3488

#2B3488 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.2% C 0.139 H 273.0°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#2B3488
RGBrgb(43, 52, 136)
HSLhsl(234, 52%, 35%)
HSVhsv(234, 68%, 53%)
CMYKcmyk(68.4%, 61.8%, 0%, 46.7%)
CIE-LABlab(26.00, 25.17, -48.15)
CIE-LCHlch(26.00, 54.33, 297.60°)
OKLaboklab(37.2% 0.0072 -0.1387)
OKLCHoklch(37.2% 0.139 273)
XYZxyz(6.6667, 4.7465, 23.8526)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3488 #887F2B
analogous
#2B6288 #2B3488 #512B88
triadic
#2B3488 #882B34 #34882B
tetradic
#2B3488 #882B62 #887F2B #2B8851
square
#2B3488 #882B62 #887F2B #2B8851
split-complementary
#2B3488 #88512B #62882B
monochromatic
#0E102B #1C225A #2B3488 #3A46B6 #616BCD

Accessibility & contrast

On white

10.77
#2B3488 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2B3488 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3488
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3488#FFFFFF#000000##FFFFFF
##2B34881.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428B
Deuteranopia (green-blind)
#003986
Tritanopia (blue-blind)
#004958
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2b3488;
/* rgb */ color: rgb(43, 52, 136);
/* oklch */ color: oklch(37.2% 0.139 273.0);
Tailwind
colors: {
  custom: {
    50: '#706bab',
    500: '#2b3488',
    950: '#000000',
  },
}
SCSS
$custom: #2b3488;
$custom-light: #706bab;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3488",
  "rgb": {
    "r": 43,
    "g": 52,
    "b": 136
  },
  "hsl": {
    "h": 234.194,
    "s": 51.955,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37204,
    "c": 0.13892,
    "h": 273
  },
  "luminance": 0.04747
}

Semantic roles & 50–950 ramp

primary
#2B3488
secondary
#B3AA5C
accent
#CE4CDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2B3488

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

Preview Lab → · Contrast checker → · Palette generator →

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