#2B298D#2B298D

#2B298D is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.7% C 0.159 H 275.5°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#2B298D
RGBrgb(43, 41, 141)
HSLhsl(241, 55%, 36%)
HSVhsv(241, 71%, 55%)
CMYKcmyk(69.5%, 70.9%, 0%, 44.7%)
CIE-LABlab(23.74, 34.15, -54.95)
CIE-LCHlch(23.74, 64.70, 301.86°)
OKLaboklab(35.7% 0.0154 -0.1587)
OKLCHoklch(35.7% 0.159 275.5)
XYZxyz(6.5953, 4.0220, 25.6229)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B298D #8B8D29
analogous
#29598D #2B298D #5D298D
triadic
#2B298D #8D2B29 #298D2B
tetradic
#2B298D #8D2959 #8B8D29 #298D5D
square
#2B298D #8D2959 #8B8D29 #298D5D
split-complementary
#2B298D #8D5D29 #598D29
monochromatic
#0E0D2E #1D1B5E #2B298D #3937BC #6260D1

Accessibility & contrast

On white

11.64
#2B298D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2B298D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B298D
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B298D#FFFFFF#000000##FFFFFF
##2B298D1.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D90
Deuteranopia (green-blind)
#00348B
Tritanopia (blue-blind)
#004457
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2b298d;
/* rgb */ color: rgb(43, 41, 141);
/* oklch */ color: oklch(35.7% 0.159 275.5);
Tailwind
colors: {
  custom: {
    50: '#7363af',
    500: '#2b298d',
    950: '#000000',
  },
}
SCSS
$custom: #2b298d;
$custom-light: #7363af;
$custom-dark: #000000;
JSON
{
  "hex": "#2b298d",
  "rgb": {
    "r": 43,
    "g": 41,
    "b": 141
  },
  "hsl": {
    "h": 241.2,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35697,
    "c": 0.15949,
    "h": 275.5
  },
  "luminance": 0.04023
}

Semantic roles & 50–950 ramp

primary
#2B298D
secondary
#B5B65B
accent
#DE4ADB
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2B298D

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

Preview Lab → · Contrast checker → · Palette generator →

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