#2C2D93#2C2D93

#2C2D93 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.0% C 0.163 H 274.6°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#2C2D93
RGBrgb(44, 45, 147)
HSLhsl(239, 54%, 37%)
HSVhsv(239, 70%, 58%)
CMYKcmyk(70.1%, 69.4%, 0%, 42.4%)
CIE-LABlab(25.32, 33.89, -56.08)
CIE-LCHlch(25.32, 65.53, 301.14°)
OKLaboklab(37.03% 0.0131 -0.162)
OKLCHoklch(37.03% 0.163 274.6)
XYZxyz(7.2418, 4.5182, 28.0886)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2D93 #93922C
analogous
#2C6193 #2C2D93 #5E2C93
triadic
#2C2D93 #932C2D #2D932C
tetradic
#2C2D93 #932C61 #93922C #2C935E
square
#2C2D93 #932C61 #93922C #2C935E
split-complementary
#2C2D93 #935E2C #61932C
monochromatic
#101035 #1E1F64 #2C2D93 #3A3BC2 #6869D2

Accessibility & contrast

On white

11.03
#2C2D93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C2D93
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2D93#FFFFFF#000000##FFFFFF
##2C2D931.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c2d93;
/* rgb */ color: rgb(44, 45, 147);
/* oklch */ color: oklch(37.0% 0.163 274.6);
Tailwind
colors: {
  custom: {
    50: '#7466b4',
    500: '#2c2d93',
    950: '#000000',
  },
}
SCSS
$custom: #2c2d93;
$custom-light: #7466b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2d93",
  "rgb": {
    "r": 44,
    "g": 45,
    "b": 147
  },
  "hsl": {
    "h": 239.417,
    "s": 53.927,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37025,
    "c": 0.16254,
    "h": 274.6
  },
  "luminance": 0.04519
}

Semantic roles & 50–950 ramp

primary
#2C2D93
secondary
#B8B763
accent
#DC4ADD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2C2D93

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

Preview Lab → · Contrast checker → · Palette generator →

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