#2C298F#2C298F

#2C298F is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.0% C 0.162 H 275.8°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#2C298F
RGBrgb(44, 41, 143)
HSLhsl(242, 55%, 36%)
HSVhsv(242, 71%, 56%)
CMYKcmyk(69.2%, 71.3%, 0%, 43.9%)
CIE-LABlab(24.01, 34.98, -55.75)
CIE-LCHlch(24.01, 65.82, 302.10°)
OKLaboklab(35.97% 0.0164 -0.161)
OKLCHoklch(35.97% 0.162 275.8)
XYZxyz(6.7879, 4.1039, 26.4157)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C298F #8C8F29
analogous
#29598F #2C298F #5F298F
triadic
#2C298F #8F2C29 #298F2C
tetradic
#2C298F #8F2959 #8C8F29 #298F5F
square
#2C298F #8F2959 #8C8F29 #298F5F
split-complementary
#2C298F #8F5F29 #598F29
monochromatic
#0F0E30 #1D1B5F #2C298F #3B37BF #6461D2

Accessibility & contrast

On white

11.53
#2C298F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2C298F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C298F
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C298F#FFFFFF#000000##FFFFFF
##2C298F1.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#00358D
Tritanopia (blue-blind)
#004559
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2c298f;
/* rgb */ color: rgb(44, 41, 143);
/* oklch */ color: oklch(36.0% 0.162 275.8);
Tailwind
colors: {
  custom: {
    50: '#7364b1',
    500: '#2c298f',
    950: '#000000',
  },
}
SCSS
$custom: #2c298f;
$custom-light: #7364b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c298f",
  "rgb": {
    "r": 44,
    "g": 41,
    "b": 143
  },
  "hsl": {
    "h": 241.765,
    "s": 55.435,
    "l": 36.078
  },
  "oklch": {
    "l": 0.35968,
    "c": 0.16187,
    "h": 275.8
  },
  "luminance": 0.04105
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C298F

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

Preview Lab → · Contrast checker → · Palette generator →

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