#2C2C93#2C2C93

#2C2C93 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.9% C 0.164 H 274.8°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#2C2C93
RGBrgb(44, 44, 147)
HSLhsl(240, 54%, 37%)
HSVhsv(240, 70%, 58%)
CMYKcmyk(70.1%, 70.1%, 0%, 42.4%)
CIE-LABlab(25.08, 34.51, -56.46)
CIE-LCHlch(25.08, 66.18, 301.44°)
OKLaboklab(36.86% 0.0138 -0.1631)
OKLCHoklch(36.86% 0.164 274.8)
XYZxyz(7.2041, 4.4428, 28.0760)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2C93 #93932C
analogous
#2C6093 #2C2C93 #602C93
triadic
#2C2C93 #932C2C #2C932C
tetradic
#2C2C93 #932C60 #93932C #2C9360
square
#2C2C93 #932C60 #93932C #2C9360
split-complementary
#2C2C93 #93602C #60932C
monochromatic
#101035 #1E1E64 #2C2C93 #3A3AC2 #6868D2

Accessibility & contrast

On white

11.12
#2C2C93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C2C93
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2C93#FFFFFF#000000##FFFFFF
##2C2C931.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004096
Deuteranopia (green-blind)
#003791
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2c2c93;
/* rgb */ color: rgb(44, 44, 147);
/* oklch */ color: oklch(36.9% 0.164 274.8);
Tailwind
colors: {
  custom: {
    50: '#7466b4',
    500: '#2c2c93',
    950: '#000000',
  },
}
SCSS
$custom: #2c2c93;
$custom-light: #7466b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2c93",
  "rgb": {
    "r": 44,
    "g": 44,
    "b": 147
  },
  "hsl": {
    "h": 240,
    "s": 53.927,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36859,
    "c": 0.16371,
    "h": 274.8
  },
  "luminance": 0.04443
}

Semantic roles & 50–950 ramp

primary
#2C2C93
secondary
#B8B863
accent
#DD4ADD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2C2C93

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

Preview Lab → · Contrast checker → · Palette generator →

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