#2B2689#2B2689

#2B2689 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.8% C 0.158 H 276.6°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#2B2689
RGBrgb(43, 38, 137)
HSLhsl(243, 57%, 34%)
HSVhsv(243, 72%, 54%)
CMYKcmyk(68.6%, 72.3%, 0%, 46.3%)
CIE-LABlab(22.67, 34.62, -54.22)
CIE-LCHlch(22.67, 64.33, 302.56°)
OKLaboklab(34.81% 0.0182 -0.1566)
OKLCHoklch(34.81% 0.158 276.6)
XYZxyz(6.2033, 3.7054, 24.0504)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2689 #848926
analogous
#265389 #2B2689 #5D2689
triadic
#2B2689 #892B26 #26892B
tetradic
#2B2689 #892653 #848926 #26895D
square
#2B2689 #892653 #848926 #26895D
split-complementary
#2B2689 #895D26 #538926
monochromatic
#0D0B29 #1C1959 #2B2689 #3A33B9 #5F59D1

Accessibility & contrast

On white

12.06
#2B2689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#2B2689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2689
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2689#FFFFFF#000000##FFFFFF
##2B26891.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b2689;
/* rgb */ color: rgb(43, 38, 137);
/* oklch */ color: oklch(34.8% 0.158 276.6);
Tailwind
colors: {
  custom: {
    50: '#7261ac',
    500: '#2b2689',
    950: '#000000',
  },
}
SCSS
$custom: #2b2689;
$custom-light: #7261ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2689",
  "rgb": {
    "r": 43,
    "g": 38,
    "b": 137
  },
  "hsl": {
    "h": 243.03,
    "s": 56.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.34808,
    "c": 0.15764,
    "h": 276.6
  },
  "luminance": 0.03706
}

Semantic roles & 50–950 ramp

primary
#2B2689
secondary
#B1B655
accent
#E048D8
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2B2689

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

Preview Lab → · Contrast checker → · Palette generator →

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