#2B198A#2B198A

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

Color values

HEX#2B198A
RGBrgb(43, 25, 138)
HSLhsl(250, 69%, 32%)
HSVhsv(250, 82%, 54%)
CMYKcmyk(68.8%, 81.9%, 0%, 45.9%)
CIE-LABlab(20.22, 42.20, -58.90)
CIE-LCHlch(20.22, 72.46, 305.62°)
OKLaboklab(33.11% 0.0257 -0.1701)
OKLCHoklch(33.11% 0.172 278.6)
XYZxyz(5.9299, 3.0433, 24.3148)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B198A #788A19
analogous
#193F8A #2B198A #64198A
triadic
#2B198A #8A2B19 #198A2B
tetradic
#2B198A #8A193F #788A19 #198A64
square
#2B198A #8A193F #788A19 #198A64
split-complementary
#2B198A #8A6419 #3F8A19
monochromatic
#0B0622 #1B1056 #2B198A #3B22BE #5A41DD

Accessibility & contrast

On white

13.05
#2B198A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B198A
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B198A#FFFFFF#000000##FFFFFF
##2B198A1.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b198a;
/* rgb */ color: rgb(43, 25, 138);
/* oklch */ color: oklch(33.1% 0.172 278.6);
Tailwind
colors: {
  custom: {
    50: '#735aad',
    500: '#2b198a',
    950: '#000000',
  },
}
SCSS
$custom: #2b198a;
$custom-light: #735aad;
$custom-dark: #000000;
JSON
{
  "hex": "#2b198a",
  "rgb": {
    "r": 43,
    "g": 25,
    "b": 138
  },
  "hsl": {
    "h": 249.558,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.33107,
    "c": 0.17204,
    "h": 278.6
  },
  "luminance": 0.03044
}

Semantic roles & 50–950 ramp

primary
#2B198A
secondary
#AABD42
accent
#EC3CD0
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2B198A

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

Preview Lab → · Contrast checker → · Palette generator →

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