#2C2A83#2C2A83

#2C2A83 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.0% C 0.145 H 276.9°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#2C2A83
RGBrgb(44, 42, 131)
HSLhsl(241, 51%, 34%)
HSVhsv(241, 68%, 51%)
CMYKcmyk(66.4%, 67.9%, 0%, 48.6%)
CIE-LABlab(23.10, 30.13, -49.76)
CIE-LCHlch(23.10, 58.17, 301.20°)
OKLaboklab(34.96% 0.0173 -0.1435)
OKLCHoklch(34.96% 0.145 276.9)
XYZxyz(5.9621, 3.8296, 21.8933)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2A83 #81832A
analogous
#2A5583 #2C2A83 #592A83
triadic
#2C2A83 #832C2A #2A832C
tetradic
#2C2A83 #832A55 #81832A #2A8359
square
#2C2A83 #832A55 #81832A #2A8359
split-complementary
#2C2A83 #83592A #55832A
monochromatic
#0D0C26 #1C1B55 #2C2A83 #3C39B1 #5F5DCB

Accessibility & contrast

On white

11.89
#2C2A83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2C2A83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2A83
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2A83#FFFFFF#000000##FFFFFF
##2C2A831.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B86
Deuteranopia (green-blind)
#003381
Tritanopia (blue-blind)
#004152
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2c2a83;
/* rgb */ color: rgb(44, 42, 131);
/* oklch */ color: oklch(35.0% 0.145 276.9);
Tailwind
colors: {
  custom: {
    50: '#7164a8',
    500: '#2c2a83',
    950: '#000000',
  },
}
SCSS
$custom: #2c2a83;
$custom-light: #7164a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2a83",
  "rgb": {
    "r": 44,
    "g": 42,
    "b": 131
  },
  "hsl": {
    "h": 241.348,
    "s": 51.445,
    "l": 33.922
  },
  "oklch": {
    "l": 0.34959,
    "c": 0.14453,
    "h": 276.9
  },
  "luminance": 0.0383
}

Semantic roles & 50–950 ramp

primary
#2C2A83
secondary
#AFB158
accent
#DB4DD8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #2C2A83

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

Preview Lab → · Contrast checker → · Palette generator →

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