#2C2E99#2C2E99

#2C2E99 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.8% C 0.169 H 273.9°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#2C2E99
RGBrgb(44, 46, 153)
HSLhsl(239, 55%, 39%)
HSVhsv(239, 71%, 60%)
CMYKcmyk(71.2%, 69.9%, 0%, 40%)
CIE-LABlab(26.12, 35.37, -58.44)
CIE-LCHlch(26.12, 68.31, 301.19°)
OKLaboklab(37.79% 0.0116 -0.1689)
OKLCHoklch(37.79% 0.169 273.9)
XYZxyz(7.7636, 4.7886, 30.6460)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2E99 #99972C
analogous
#2C6499 #2C2E99 #602C99
triadic
#2C2E99 #992C2E #2E992C
tetradic
#2C2E99 #992C64 #99972C #2C9960
square
#2C2E99 #992C64 #99972C #2C9960
split-complementary
#2C2E99 #99602C #64992C
monochromatic
#11113A #1E2069 #2C2E99 #3B3EC7 #6B6DD4

Accessibility & contrast

On white

10.73
#2C2E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2C2E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2E99
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2E99#FFFFFF#000000##FFFFFF
##2C2E991.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439C
Deuteranopia (green-blind)
#003997
Tritanopia (blue-blind)
#004B60
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2c2e99;
/* rgb */ color: rgb(44, 46, 153);
/* oklch */ color: oklch(37.8% 0.169 273.9);
Tailwind
colors: {
  custom: {
    50: '#7567b8',
    500: '#2c2e99',
    950: '#000000',
  },
}
SCSS
$custom: #2c2e99;
$custom-light: #7567b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2e99",
  "rgb": {
    "r": 44,
    "g": 46,
    "b": 153
  },
  "hsl": {
    "h": 238.899,
    "s": 55.33,
    "l": 38.627
  },
  "oklch": {
    "l": 0.37785,
    "c": 0.16931,
    "h": 273.9
  },
  "luminance": 0.04789
}

Semantic roles & 50–950 ramp

primary
#2C2E99
secondary
#BBBA66
accent
#DC49DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #2C2E99

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

Preview Lab → · Contrast checker → · Palette generator →

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