#2B188B#2B188B

#2B188B is a dark, vivid blue. Relative luminance 0.030; OKLCH L 33.1% C 0.174 H 278.6°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#2B188B
RGBrgb(43, 24, 139)
HSLhsl(250, 71%, 32%)
HSVhsv(250, 83%, 55%)
CMYKcmyk(69.1%, 82.7%, 0%, 45.5%)
CIE-LABlab(20.17, 43.00, -59.61)
CIE-LCHlch(20.17, 73.50, 305.80°)
OKLaboklab(33.11% 0.0259 -0.1722)
OKLCHoklch(33.11% 0.174 278.6)
XYZxyz(5.9816, 3.0304, 24.6908)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B188B #788B18
analogous
#183F8B #2B188B #65188B
triadic
#2B188B #8B2B18 #188B2B
tetradic
#2B188B #8B183F #788B18 #188B65
square
#2B188B #8B183F #788B18 #188B65
split-complementary
#2B188B #8B6518 #3F8B18
monochromatic
#0B0623 #1B0F57 #2B188B #3B21BF #5A3FDE

Accessibility & contrast

On white

13.07
#2B188B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2B188B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B188B
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B188B#FFFFFF#000000##FFFFFF
##2B188B1.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358E
Deuteranopia (green-blind)
#002C89
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2b188b;
/* rgb */ color: rgb(43, 24, 139);
/* oklch */ color: oklch(33.1% 0.174 278.6);
Tailwind
colors: {
  custom: {
    50: '#7459ae',
    500: '#2b188b',
    950: '#000000',
  },
}
SCSS
$custom: #2b188b;
$custom-light: #7459ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2b188b",
  "rgb": {
    "r": 43,
    "g": 24,
    "b": 139
  },
  "hsl": {
    "h": 249.913,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.33105,
    "c": 0.1741,
    "h": 278.6
  },
  "luminance": 0.03031
}

Semantic roles & 50–950 ramp

primary
#2B188B
secondary
#AABE40
accent
#ED3AD0
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#090410
muted
#7B797F

Preview Lab

Preview with #2B188B

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

Preview Lab → · Contrast checker → · Palette generator →

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