#2B3189#2B3189

#2B3189 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.7% C 0.144 H 273.9°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#2B3189
RGBrgb(43, 49, 137)
HSLhsl(236, 52%, 35%)
HSVhsv(236, 69%, 54%)
CMYKcmyk(68.6%, 64.2%, 0%, 46.3%)
CIE-LABlab(25.31, 27.55, -49.90)
CIE-LCHlch(25.31, 57.00, 298.90°)
OKLaboklab(36.72% 0.0097 -0.1439)
OKLCHoklch(36.72% 0.144 273.9)
XYZxyz(6.6084, 4.5158, 24.1854)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3189 #89832B
analogous
#2B6089 #2B3189 #542B89
triadic
#2B3189 #892B31 #31892B
tetradic
#2B3189 #892B60 #89832B #2B8954
square
#2B3189 #892B60 #89832B #2B8954
split-complementary
#2B3189 #89542B #60892B
monochromatic
#0E102C #1C205A #2B3189 #3A42B8 #6168CD

Accessibility & contrast

On white

11.03
#2B3189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2B3189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3189
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3189#FFFFFF#000000##FFFFFF
##2B31891.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408C
Deuteranopia (green-blind)
#003887
Tritanopia (blue-blind)
#004758
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2b3189;
/* rgb */ color: rgb(43, 49, 137);
/* oklch */ color: oklch(36.7% 0.144 273.9);
Tailwind
colors: {
  custom: {
    50: '#7169ac',
    500: '#2b3189',
    950: '#000000',
  },
}
SCSS
$custom: #2b3189;
$custom-light: #7169ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3189",
  "rgb": {
    "r": 43,
    "g": 49,
    "b": 137
  },
  "hsl": {
    "h": 236.17,
    "s": 52.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36721,
    "c": 0.14424,
    "h": 273.9
  },
  "luminance": 0.04516
}

Semantic roles & 50–950 ramp

primary
#2B3189
secondary
#B3AE5C
accent
#D24CDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2B3189

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

Preview Lab → · Contrast checker → · Palette generator →

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