#2C298E#2C298E

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

Color values

HEX#2C298E
RGBrgb(44, 41, 142)
HSLhsl(242, 55%, 36%)
HSVhsv(242, 71%, 56%)
CMYKcmyk(69%, 71.1%, 0%, 44.3%)
CIE-LABlab(23.91, 34.63, -55.29)
CIE-LCHlch(23.91, 65.24, 302.06°)
OKLaboklab(35.87% 0.0166 -0.1597)
OKLCHoklch(35.87% 0.161 275.9)
XYZxyz(6.7125, 4.0737, 26.0185)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C298E #8B8E29
analogous
#29588E #2C298E #5E298E
triadic
#2C298E #8E2C29 #298E2C
tetradic
#2C298E #8E2958 #8B8E29 #298E5E
square
#2C298E #8E2958 #8B8E29 #298E5E
split-complementary
#2C298E #8E5E29 #588E29
monochromatic
#0F0E2F #1D1B5F #2C298E #3B37BD #6460D1

Accessibility & contrast

On white

11.57
#2C298E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C298E
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C298E#FFFFFF#000000##FFFFFF
##2C298E1.0011.571.8111.57
#FFFFFF11.571.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c298e;
/* rgb */ color: rgb(44, 41, 142);
/* oklch */ color: oklch(35.9% 0.161 275.9);
Tailwind
colors: {
  custom: {
    50: '#7364b0',
    500: '#2c298e',
    950: '#000000',
  },
}
SCSS
$custom: #2c298e;
$custom-light: #7364b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c298e",
  "rgb": {
    "r": 44,
    "g": 41,
    "b": 142
  },
  "hsl": {
    "h": 241.782,
    "s": 55.191,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35868,
    "c": 0.16056,
    "h": 275.9
  },
  "luminance": 0.04074
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C298E

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

Preview Lab → · Contrast checker → · Palette generator →

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