#2C2A99#2C2A99

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

Color values

HEX#2C2A99
RGBrgb(44, 42, 153)
HSLhsl(241, 57%, 38%)
HSVhsv(241, 73%, 60%)
CMYKcmyk(71.2%, 72.5%, 0%, 40%)
CIE-LABlab(25.23, 37.82, -59.91)
CIE-LCHlch(25.23, 70.85, 302.27°)
OKLaboklab(37.14% 0.0141 -0.1732)
OKLCHoklch(37.14% 0.174 274.7)
XYZxyz(7.6145, 4.4906, 30.5963)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2A99 #97992A
analogous
#2A5F99 #2C2A99 #632A99
triadic
#2C2A99 #992C2A #2A992C
tetradic
#2C2A99 #992A5F #97992A #2A9963
square
#2C2A99 #992A5F #97992A #2A9963
split-complementary
#2C2A99 #99632A #5F992A
monochromatic
#101039 #1E1D69 #2C2A99 #3A38C8 #6A68D6

Accessibility & contrast

On white

11.06
#2C2A99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C2A99
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2A99#FFFFFF#000000##FFFFFF
##2C2A991.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c2a99;
/* rgb */ color: rgb(44, 42, 153);
/* oklch */ color: oklch(37.1% 0.174 274.7);
Tailwind
colors: {
  custom: {
    50: '#7665b8',
    500: '#2c2a99',
    950: '#000000',
  },
}
SCSS
$custom: #2c2a99;
$custom-light: #7665b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2a99",
  "rgb": {
    "r": 44,
    "g": 42,
    "b": 153
  },
  "hsl": {
    "h": 241.081,
    "s": 56.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37144,
    "c": 0.17377,
    "h": 274.7
  },
  "luminance": 0.04491
}

Semantic roles & 50–950 ramp

primary
#2C2A99
secondary
#BABC63
accent
#E048DD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #2C2A99

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

Preview Lab → · Contrast checker → · Palette generator →

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