#2B298A#2B298A

#2B298A is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.4% C 0.155 H 275.9°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#2B298A
RGBrgb(43, 41, 138)
HSLhsl(241, 54%, 35%)
HSVhsv(241, 70%, 54%)
CMYKcmyk(68.8%, 70.3%, 0%, 45.9%)
CIE-LABlab(23.45, 33.10, -53.57)
CIE-LCHlch(23.45, 62.97, 301.71°)
OKLaboklab(35.4% 0.0159 -0.1547)
OKLCHoklch(35.4% 0.155 275.9)
XYZxyz(6.3751, 3.9339, 24.4632)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B298A #888A29
analogous
#29588A #2B298A #5B298A
triadic
#2B298A #8A2B29 #298A2B
tetradic
#2B298A #8A2958 #888A29 #298A5B
square
#2B298A #8A2958 #888A29 #298A5B
split-complementary
#2B298A #8A5B29 #588A29
monochromatic
#0E0D2C #1C1B5B #2B298A #3A37B9 #615ECF

Accessibility & contrast

On white

11.75
#2B298A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2B298A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B298A
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B298A#FFFFFF#000000##FFFFFF
##2B298A1.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8D
Deuteranopia (green-blind)
#003488
Tritanopia (blue-blind)
#004356
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2b298a;
/* rgb */ color: rgb(43, 41, 138);
/* oklch */ color: oklch(35.4% 0.155 275.9);
Tailwind
colors: {
  custom: {
    50: '#7263ad',
    500: '#2b298a',
    950: '#000000',
  },
}
SCSS
$custom: #2b298a;
$custom-light: #7263ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2b298a",
  "rgb": {
    "r": 43,
    "g": 41,
    "b": 138
  },
  "hsl": {
    "h": 241.237,
    "s": 54.19,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35397,
    "c": 0.15549,
    "h": 275.9
  },
  "luminance": 0.03934
}

Semantic roles & 50–950 ramp

primary
#2B298A
secondary
#B3B55A
accent
#DE4ADB
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2B298A

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

Preview Lab → · Contrast checker → · Palette generator →

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