#2C2893#2C2893

#2C2893 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.2% C 0.168 H 275.6°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#2C2893
RGBrgb(44, 40, 147)
HSLhsl(242, 57%, 37%)
HSVhsv(242, 73%, 58%)
CMYKcmyk(70.1%, 72.8%, 0%, 42.4%)
CIE-LABlab(24.19, 36.97, -57.93)
CIE-LCHlch(24.19, 68.72, 302.54°)
OKLaboklab(36.22% 0.0164 -0.1674)
OKLCHoklch(36.22% 0.168 275.6)
XYZxyz(7.0622, 4.1590, 28.0287)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2893 #8F9328
analogous
#285A93 #2C2893 #622893
triadic
#2C2893 #932C28 #28932C
tetradic
#2C2893 #93285A #8F9328 #289362
square
#2C2893 #93285A #8F9328 #289362
split-complementary
#2C2893 #936228 #5A9328
monochromatic
#0F0E33 #1E1B63 #2C2893 #3A35C3 #6661D4

Accessibility & contrast

On white

11.46
#2C2893 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2C2893 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2893
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2893#FFFFFF#000000##FFFFFF
##2C28931.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E96
Deuteranopia (green-blind)
#003591
Tritanopia (blue-blind)
#00465B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2c2893;
/* rgb */ color: rgb(44, 40, 147);
/* oklch */ color: oklch(36.2% 0.168 275.6);
Tailwind
colors: {
  custom: {
    50: '#7463b4',
    500: '#2c2893',
    950: '#000000',
  },
}
SCSS
$custom: #2c2893;
$custom-light: #7463b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2893",
  "rgb": {
    "r": 44,
    "g": 40,
    "b": 147
  },
  "hsl": {
    "h": 242.243,
    "s": 57.219,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36217,
    "c": 0.16821,
    "h": 275.6
  },
  "luminance": 0.0416
}

Semantic roles & 50–950 ramp

primary
#2C2893
secondary
#B6BA5D
accent
#E047DB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #2C2893

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

Preview Lab → · Contrast checker → · Palette generator →

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