#2B298E#2B298E

#2B298E is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.8% C 0.161 H 275.4°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#2B298E
RGBrgb(43, 41, 142)
HSLhsl(241, 55%, 36%)
HSVhsv(241, 71%, 56%)
CMYKcmyk(69.7%, 71.1%, 0%, 44.3%)
CIE-LABlab(23.84, 34.50, -55.41)
CIE-LCHlch(23.84, 65.28, 301.91°)
OKLaboklab(35.8% 0.0153 -0.1601)
OKLCHoklch(35.8% 0.161 275.4)
XYZxyz(6.6701, 4.0519, 26.0165)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B298E #8C8E29
analogous
#29598E #2B298E #5D298E
triadic
#2B298E #8E2B29 #298E2B
tetradic
#2B298E #8E2959 #8C8E29 #298E5D
square
#2B298E #8E2959 #8C8E29 #298E5D
split-complementary
#2B298E #8E5D29 #598E29
monochromatic
#0E0E2F #1D1B5F #2B298E #3937BD #6260D1

Accessibility & contrast

On white

11.60
#2B298E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2B298E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B298E
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B298E#FFFFFF#000000##FFFFFF
##2B298E1.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D91
Deuteranopia (green-blind)
#00348C
Tritanopia (blue-blind)
#004558
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2b298e;
/* rgb */ color: rgb(43, 41, 142);
/* oklch */ color: oklch(35.8% 0.161 275.4);
Tailwind
colors: {
  custom: {
    50: '#7363b0',
    500: '#2b298e',
    950: '#000000',
  },
}
SCSS
$custom: #2b298e;
$custom-light: #7363b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b298e",
  "rgb": {
    "r": 43,
    "g": 41,
    "b": 142
  },
  "hsl": {
    "h": 241.188,
    "s": 55.191,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35797,
    "c": 0.16081,
    "h": 275.4
  },
  "luminance": 0.04052
}

Semantic roles & 50–950 ramp

primary
#2B298E
secondary
#B5B75C
accent
#DF49DC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #2B298E

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

Preview Lab → · Contrast checker → · Palette generator →

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