#2C2E93#2C2E93

#2C2E93 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.2% C 0.161 H 274.4°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#2C2E93
RGBrgb(44, 46, 147)
HSLhsl(239, 54%, 37%)
HSVhsv(239, 70%, 58%)
CMYKcmyk(70.1%, 68.7%, 0%, 42.4%)
CIE-LABlab(25.55, 33.25, -55.70)
CIE-LCHlch(25.55, 64.87, 300.84°)
OKLaboklab(37.2% 0.0124 -0.1609)
OKLCHoklch(37.2% 0.161 274.4)
XYZxyz(7.2804, 4.5954, 28.1014)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2E93 #93912C
analogous
#2C6193 #2C2E93 #5E2C93
triadic
#2C2E93 #932C2E #2E932C
tetradic
#2C2E93 #932C61 #93912C #2C935E
square
#2C2E93 #932C61 #93912C #2C935E
split-complementary
#2C2E93 #935E2C #61932C
monochromatic
#101135 #1E1F64 #2C2E93 #3A3DC2 #686AD2

Accessibility & contrast

On white

10.94
#2C2E93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2C2E93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2E93
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2E93#FFFFFF#000000##FFFFFF
##2C2E931.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004196
Deuteranopia (green-blind)
#003891
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2c2e93;
/* rgb */ color: rgb(44, 46, 147);
/* oklch */ color: oklch(37.2% 0.161 274.4);
Tailwind
colors: {
  custom: {
    50: '#7467b4',
    500: '#2c2e93',
    950: '#000000',
  },
}
SCSS
$custom: #2c2e93;
$custom-light: #7467b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2e93",
  "rgb": {
    "r": 44,
    "g": 46,
    "b": 147
  },
  "hsl": {
    "h": 238.835,
    "s": 53.927,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37195,
    "c": 0.16136,
    "h": 274.4
  },
  "luminance": 0.04596
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C2E93

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

Preview Lab → · Contrast checker → · Palette generator →

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