#2B2589#2B2589

#2B2589 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.6% C 0.159 H 276.8°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#2B2589
RGBrgb(43, 37, 137)
HSLhsl(244, 57%, 34%)
HSVhsv(244, 73%, 54%)
CMYKcmyk(68.6%, 73%, 0%, 46.3%)
CIE-LABlab(22.45, 35.23, -54.58)
CIE-LCHlch(22.45, 64.96, 302.84°)
OKLaboklab(34.65% 0.0188 -0.1577)
OKLCHoklch(34.65% 0.159 276.8)
XYZxyz(6.1717, 3.6423, 24.0399)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2589 #838925
analogous
#255189 #2B2589 #5D2589
triadic
#2B2589 #892B25 #25892B
tetradic
#2B2589 #892551 #838925 #25895D
square
#2B2589 #892551 #838925 #25895D
split-complementary
#2B2589 #895D25 #518925
monochromatic
#0D0B29 #1C1859 #2B2589 #3A32B9 #5E57D2

Accessibility & contrast

On white

12.15
#2B2589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2B2589 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2589
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2589#FFFFFF#000000##FFFFFF
##2B25891.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8C
Deuteranopia (green-blind)
#003187
Tritanopia (blue-blind)
#004154
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2b2589;
/* rgb */ color: rgb(43, 37, 137);
/* oklch */ color: oklch(34.6% 0.159 276.8);
Tailwind
colors: {
  custom: {
    50: '#7261ac',
    500: '#2b2589',
    950: '#000000',
  },
}
SCSS
$custom: #2b2589;
$custom-light: #7261ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2589",
  "rgb": {
    "r": 43,
    "g": 37,
    "b": 137
  },
  "hsl": {
    "h": 243.6,
    "s": 57.471,
    "l": 34.118
  },
  "oklch": {
    "l": 0.3465,
    "c": 0.15877,
    "h": 276.8
  },
  "luminance": 0.03643
}

Semantic roles & 50–950 ramp

primary
#2B2589
secondary
#B0B654
accent
#E147D7
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2B2589

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

Preview Lab → · Contrast checker → · Palette generator →

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