#2B288D#2B288D

#2B288D is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.5% C 0.161 H 275.8°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#2B288D
RGBrgb(43, 40, 141)
HSLhsl(242, 56%, 35%)
HSVhsv(242, 72%, 55%)
CMYKcmyk(69.5%, 71.6%, 0%, 44.7%)
CIE-LABlab(23.52, 34.77, -55.32)
CIE-LCHlch(23.52, 65.35, 302.15°)
OKLaboklab(35.53% 0.0161 -0.1598)
OKLCHoklch(35.53% 0.161 275.8)
XYZxyz(6.5612, 3.9537, 25.6115)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B288D #8A8D28
analogous
#28578D #2B288D #5D288D
triadic
#2B288D #8D2B28 #288D2B
tetradic
#2B288D #8D2857 #8A8D28 #288D5D
square
#2B288D #8D2857 #8A8D28 #288D5D
split-complementary
#2B288D #8D5D28 #578D28
monochromatic
#0E0D2E #1C1A5D #2B288D #3A36BD #615ED1

Accessibility & contrast

On white

11.73
#2B288D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2B288D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B288D
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B288D#FFFFFF#000000##FFFFFF
##2B288D1.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C90
Deuteranopia (green-blind)
#00338B
Tritanopia (blue-blind)
#004457
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2b288d;
/* rgb */ color: rgb(43, 40, 141);
/* oklch */ color: oklch(35.5% 0.161 275.8);
Tailwind
colors: {
  custom: {
    50: '#7363af',
    500: '#2b288d',
    950: '#000000',
  },
}
SCSS
$custom: #2b288d;
$custom-light: #7363af;
$custom-dark: #000000;
JSON
{
  "hex": "#2b288d",
  "rgb": {
    "r": 43,
    "g": 40,
    "b": 141
  },
  "hsl": {
    "h": 241.782,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35534,
    "c": 0.16063,
    "h": 275.8
  },
  "luminance": 0.03954
}

Semantic roles & 50–950 ramp

primary
#2B288D
secondary
#B4B75A
accent
#DF49DB
background
#F7F5FA
surface
#EDEAF5
border
#C8C6CF
text
#090511
muted
#7B7980

Preview Lab

Preview with #2B288D

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

Preview Lab → · Contrast checker → · Palette generator →

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