#2C23A3#2C23A3

#2C23A3 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.2% C 0.193 H 274.7°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#2C23A3
RGBrgb(44, 35, 163)
HSLhsl(244, 65%, 39%)
HSVhsv(244, 79%, 64%)
CMYKcmyk(73%, 78.5%, 0%, 36.1%)
CIE-LABlab(24.89, 45.10, -66.57)
CIE-LCHlch(24.89, 80.41, 304.12°)
OKLaboklab(37.22% 0.0157 -0.1925)
OKLCHoklch(37.22% 0.193 274.7)
XYZxyz(8.2484, 4.3811, 35.0542)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C23A3 #9AA323
analogous
#235AA3 #2C23A3 #6C23A3
triadic
#2C23A3 #A32C23 #23A32C
tetradic
#2C23A3 #A3235A #9AA323 #23A36C
square
#2C23A3 #A3235A #9AA323 #23A36C
split-complementary
#2C23A3 #A36C23 #5AA323
monochromatic
#110D3E #1E1871 #2C23A3 #3C31D3 #6C63DD

Accessibility & contrast

On white

11.19
#2C23A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2C23A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C23A3
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C23A3#FFFFFF#000000##FFFFFF
##2C23A31.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A7
Deuteranopia (green-blind)
#0035A1
Tritanopia (blue-blind)
#004A62
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2c23a3;
/* rgb */ color: rgb(44, 35, 163);
/* oklch */ color: oklch(37.2% 0.193 274.7);
Tailwind
colors: {
  custom: {
    50: '#7961c0',
    500: '#2c23a3',
    950: '#000000',
  },
}
SCSS
$custom: #2c23a3;
$custom-light: #7961c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c23a3",
  "rgb": {
    "r": 44,
    "g": 35,
    "b": 163
  },
  "hsl": {
    "h": 244.219,
    "s": 64.646,
    "l": 38.824
  },
  "oklch": {
    "l": 0.37221,
    "c": 0.19317,
    "h": 274.7
  },
  "luminance": 0.04382
}

Semantic roles & 50–950 ramp

primary
#2C23A3
secondary
#BCC35F
accent
#E840DC
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #2C23A3

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

Preview Lab → · Contrast checker → · Palette generator →

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