#2B188D#2B188D

#2B188D is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.3% C 0.176 H 278.2°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#2B188D
RGBrgb(43, 24, 141)
HSLhsl(250, 71%, 32%)
HSVhsv(250, 83%, 55%)
CMYKcmyk(69.5%, 83%, 0%, 44.7%)
CIE-LABlab(20.40, 43.61, -60.47)
CIE-LCHlch(20.40, 74.56, 305.80°)
OKLaboklab(33.34% 0.0253 -0.1747)
OKLCHoklch(33.34% 0.176 278.2)
XYZxyz(6.1291, 3.0894, 25.4675)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B188D #7A8D18
analogous
#183F8D #2B188D #66188D
triadic
#2B188D #8D2B18 #188D2B
tetradic
#2B188D #8D183F #7A8D18 #188D66
square
#2B188D #8D183F #7A8D18 #188D66
split-complementary
#2B188D #8D6618 #3F8D18
monochromatic
#0B0624 #1B0F59 #2B188D #3B21C1 #5A41DF

Accessibility & contrast

On white

12.98
#2B188D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#2B188D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B188D
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B188D#FFFFFF#000000##FFFFFF
##2B188D1.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003690
Deuteranopia (green-blind)
#002C8B
Tritanopia (blue-blind)
#003D53
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2b188d;
/* rgb */ color: rgb(43, 24, 141);
/* oklch */ color: oklch(33.3% 0.176 278.2);
Tailwind
colors: {
  custom: {
    50: '#7459b0',
    500: '#2b188d',
    950: '#000000',
  },
}
SCSS
$custom: #2b188d;
$custom-light: #7459b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b188d",
  "rgb": {
    "r": 43,
    "g": 24,
    "b": 141
  },
  "hsl": {
    "h": 249.744,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.33335,
    "c": 0.17649,
    "h": 278.2
  },
  "luminance": 0.0309
}

Semantic roles & 50–950 ramp

primary
#2B188D
secondary
#ABBF42
accent
#EE3AD1
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #2B188D

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

Preview Lab → · Contrast checker → · Palette generator →

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