#2C299B#2C299B

#2C299B is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.2% C 0.177 H 274.6°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#2C299B
RGBrgb(44, 41, 155)
HSLhsl(242, 58%, 38%)
HSVhsv(242, 74%, 61%)
CMYKcmyk(71.6%, 73.5%, 0%, 39.2%)
CIE-LABlab(25.22, 39.10, -61.15)
CIE-LCHlch(25.22, 72.59, 302.60°)
OKLaboklab(37.2% 0.0144 -0.1768)
OKLCHoklch(37.2% 0.177 274.6)
XYZxyz(7.7461, 4.4872, 31.4619)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C299B #989B29
analogous
#295F9B #2C299B #65299B
triadic
#2C299B #9B2C29 #299B2C
tetradic
#2C299B #9B295F #989B29 #299B65
square
#2C299B #9B295F #989B29 #299B65
split-complementary
#2C299B #9B6529 #5F9B29
monochromatic
#110F3A #1E1C6B #2C299B #3B37CA #6A67D7

Accessibility & contrast

On white

11.07
#2C299B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2C299B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C299B
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C299B#FFFFFF#000000##FFFFFF
##2C299B1.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419E
Deuteranopia (green-blind)
#003699
Tritanopia (blue-blind)
#00495F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2c299b;
/* rgb */ color: rgb(44, 41, 155);
/* oklch */ color: oklch(37.2% 0.177 274.6);
Tailwind
colors: {
  custom: {
    50: '#7664ba',
    500: '#2c299b',
    950: '#000000',
  },
}
SCSS
$custom: #2c299b;
$custom-light: #7664ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2c299b",
  "rgb": {
    "r": 44,
    "g": 41,
    "b": 155
  },
  "hsl": {
    "h": 241.579,
    "s": 58.163,
    "l": 38.431
  },
  "oklch": {
    "l": 0.37198,
    "c": 0.17739,
    "h": 274.6
  },
  "luminance": 0.04488
}

Semantic roles & 50–950 ramp

primary
#2C299B
secondary
#BBBD63
accent
#E146DD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2C299B

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

Preview Lab → · Contrast checker → · Palette generator →

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