#2B2588#2B2588

#2B2588 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.5% C 0.157 H 276.9°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#2B2588
RGBrgb(43, 37, 136)
HSLhsl(244, 57%, 34%)
HSVhsv(244, 73%, 53%)
CMYKcmyk(68.4%, 72.8%, 0%, 46.7%)
CIE-LABlab(22.35, 34.88, -54.12)
CIE-LCHlch(22.35, 64.39, 302.80°)
OKLaboklab(34.55% 0.019 -0.1563)
OKLCHoklch(34.55% 0.157 276.9)
XYZxyz(6.1003, 3.6138, 23.6638)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2588 #828825
analogous
#255188 #2B2588 #5D2588
triadic
#2B2588 #882B25 #25882B
tetradic
#2B2588 #882551 #828825 #25885D
square
#2B2588 #882551 #828825 #25885D
split-complementary
#2B2588 #885D25 #518825
monochromatic
#0D0B28 #1C1858 #2B2588 #3A32B8 #5E56D1

Accessibility & contrast

On white

12.19
#2B2588 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#2B2588 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2588
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2588#FFFFFF#000000##FFFFFF
##2B25881.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8B
Deuteranopia (green-blind)
#003186
Tritanopia (blue-blind)
#004054
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2b2588;
/* rgb */ color: rgb(43, 37, 136);
/* oklch */ color: oklch(34.5% 0.157 276.9);
Tailwind
colors: {
  custom: {
    50: '#7261ac',
    500: '#2b2588',
    950: '#000000',
  },
}
SCSS
$custom: #2b2588;
$custom-light: #7261ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2588",
  "rgb": {
    "r": 43,
    "g": 37,
    "b": 136
  },
  "hsl": {
    "h": 243.636,
    "s": 57.225,
    "l": 33.922
  },
  "oklch": {
    "l": 0.34547,
    "c": 0.15746,
    "h": 276.9
  },
  "luminance": 0.03614
}

Semantic roles & 50–950 ramp

primary
#2B2588
secondary
#B0B653
accent
#E047D7
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2B2588

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

Preview Lab → · Contrast checker → · Palette generator →

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