#2C299A#2C299A

#2C299A is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.1% C 0.176 H 274.7°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#2C299A
RGBrgb(44, 41, 154)
HSLhsl(242, 58%, 38%)
HSVhsv(242, 73%, 60%)
CMYKcmyk(71.4%, 73.4%, 0%, 39.6%)
CIE-LABlab(25.12, 38.76, -60.71)
CIE-LCHlch(25.12, 72.03, 302.56°)
OKLaboklab(37.09% 0.0146 -0.1755)
OKLCHoklch(37.09% 0.176 274.7)
XYZxyz(7.6624, 4.4537, 31.0214)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C299A #979A29
analogous
#295E9A #2C299A #64299A
triadic
#2C299A #9A2C29 #299A2C
tetradic
#2C299A #9A295E #979A29 #299A64
square
#2C299A #9A295E #979A29 #299A64
split-complementary
#2C299A #9A6429 #5E9A29
monochromatic
#100F39 #1E1C6A #2C299A #3A37CA #6A67D7

Accessibility & contrast

On white

11.11
#2C299A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2C299A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C299A
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C299A#FFFFFF#000000##FFFFFF
##2C299A1.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c299a;
/* rgb */ color: rgb(44, 41, 154);
/* oklch */ color: oklch(37.1% 0.176 274.7);
Tailwind
colors: {
  custom: {
    50: '#7664b9',
    500: '#2c299a',
    950: '#000000',
  },
}
SCSS
$custom: #2c299a;
$custom-light: #7664b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c299a",
  "rgb": {
    "r": 44,
    "g": 41,
    "b": 154
  },
  "hsl": {
    "h": 241.593,
    "s": 57.949,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37094,
    "c": 0.17612,
    "h": 274.7
  },
  "luminance": 0.04454
}

Semantic roles & 50–950 ramp

primary
#2C299A
secondary
#BABD62
accent
#E147DD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2C299A

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

Preview Lab → · Contrast checker → · Palette generator →

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