#2B189F#2B189F

#2B189F is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.4% C 0.198 H 275.7°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#2B189F
RGBrgb(43, 24, 159)
HSLhsl(248, 74%, 36%)
HSVhsv(248, 85%, 62%)
CMYKcmyk(73%, 84.9%, 0%, 37.6%)
CIE-LABlab(22.55, 49.06, -68.02)
CIE-LCHlch(22.55, 83.87, 305.80°)
OKLaboklab(35.44% 0.0197 -0.1966)
OKLCHoklch(35.44% 0.198 275.7)
XYZxyz(7.5789, 3.6693, 33.1030)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B189F #8C9F18
analogous
#18499F #2B189F #6E189F
triadic
#2B189F #9F2B18 #189F2B
tetradic
#2B189F #9F1849 #8C9F18 #189F6E
square
#2B189F #9F1849 #8C9F18 #189F6E
split-complementary
#2B189F #9F6E18 #499F18
monochromatic
#0E0835 #1D106A #2B189F #3920D4 #624DE4

Accessibility & contrast

On white

12.11
#2B189F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2B189F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B189F
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B189F#FFFFFF#000000##FFFFFF
##2B189F1.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA3
Deuteranopia (green-blind)
#00309D
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2b189f;
/* rgb */ color: rgb(43, 24, 159);
/* oklch */ color: oklch(35.4% 0.198 275.7);
Tailwind
colors: {
  custom: {
    50: '#785bbd',
    500: '#2b189f',
    950: '#000000',
  },
}
SCSS
$custom: #2b189f;
$custom-light: #785bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b189f",
  "rgb": {
    "r": 43,
    "g": 24,
    "b": 159
  },
  "hsl": {
    "h": 248.444,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35438,
    "c": 0.19758,
    "h": 275.7
  },
  "luminance": 0.0367
}

Semantic roles & 50–950 ramp

primary
#2B189F
secondary
#B5C64D
accent
#F037D6
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #2B189F

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

Preview Lab → · Contrast checker → · Palette generator →

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