#2C299D#2C299D

#2C299D is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.4% C 0.180 H 274.5°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#2C299D
RGBrgb(44, 41, 157)
HSLhsl(242, 59%, 39%)
HSVhsv(242, 74%, 62%)
CMYKcmyk(72%, 73.9%, 0%, 38.4%)
CIE-LABlab(25.43, 39.78, -62.03)
CIE-LCHlch(25.43, 73.69, 302.67°)
OKLaboklab(37.41% 0.014 -0.1794)
OKLCHoklch(37.41% 0.18 274.5)
XYZxyz(7.9154, 4.5549, 32.3538)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C299D #9A9D29
analogous
#29609D #2C299D #66299D
triadic
#2C299D #9D2C29 #299D2C
tetradic
#2C299D #9D2960 #9A9D29 #299D66
square
#2C299D #9D2960 #9A9D29 #299D66
split-complementary
#2C299D #9D6629 #609D29
monochromatic
#11103C #1E1C6C #2C299D #3C38CB #6C69D8

Accessibility & contrast

On white

10.99
#2C299D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2C299D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C299D
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C299D#FFFFFF#000000##FFFFFF
##2C299D1.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A0
Deuteranopia (green-blind)
#00379B
Tritanopia (blue-blind)
#004A60
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2c299d;
/* rgb */ color: rgb(44, 41, 157);
/* oklch */ color: oklch(37.4% 0.180 274.5);
Tailwind
colors: {
  custom: {
    50: '#7764bb',
    500: '#2c299d',
    950: '#000000',
  },
}
SCSS
$custom: #2c299d;
$custom-light: #7764bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c299d",
  "rgb": {
    "r": 44,
    "g": 41,
    "b": 157
  },
  "hsl": {
    "h": 241.552,
    "s": 58.586,
    "l": 38.824
  },
  "oklch": {
    "l": 0.37407,
    "c": 0.17993,
    "h": 274.5
  },
  "luminance": 0.04556
}

Semantic roles & 50–950 ramp

primary
#2C299D
secondary
#BCBE64
accent
#E246DE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2C299D

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

Preview Lab → · Contrast checker → · Palette generator →

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