#2C299E#2C299E

#2C299E is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.5% C 0.181 H 274.4°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#2C299E
RGBrgb(44, 41, 158)
HSLhsl(242, 59%, 39%)
HSVhsv(242, 74%, 62%)
CMYKcmyk(72.2%, 74.1%, 0%, 38%)
CIE-LABlab(25.53, 40.12, -62.47)
CIE-LCHlch(25.53, 74.25, 302.71°)
OKLaboklab(37.51% 0.0138 -0.1807)
OKLCHoklch(37.51% 0.181 274.4)
XYZxyz(8.0012, 4.5892, 32.8053)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C299E #9B9E29
analogous
#29619E #2C299E #67299E
triadic
#2C299E #9E2C29 #299E2C
tetradic
#2C299E #9E2961 #9B9E29 #299E67
square
#2C299E #9E2961 #9B9E29 #299E67
split-complementary
#2C299E #9E6729 #619E29
monochromatic
#11103D #1E1C6D #2C299E #3C39CC #6C69D8

Accessibility & contrast

On white

10.95
#2C299E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2C299E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C299E
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C299E#FFFFFF#000000##FFFFFF
##2C299E1.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A1
Deuteranopia (green-blind)
#00379C
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2c299e;
/* rgb */ color: rgb(44, 41, 158);
/* oklch */ color: oklch(37.5% 0.181 274.4);
Tailwind
colors: {
  custom: {
    50: '#7764bc',
    500: '#2c299e',
    950: '#000000',
  },
}
SCSS
$custom: #2c299e;
$custom-light: #7764bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c299e",
  "rgb": {
    "r": 44,
    "g": 41,
    "b": 158
  },
  "hsl": {
    "h": 241.538,
    "s": 58.794,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37512,
    "c": 0.18119,
    "h": 274.4
  },
  "luminance": 0.0459
}

Semantic roles & 50–950 ramp

primary
#2C299E
secondary
#BCBF64
accent
#E246DE
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2C299E

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

Preview Lab → · Contrast checker → · Palette generator →

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