#2C23A0#2C23A0

#2C23A0 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.9% C 0.190 H 275.0°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#2C23A0
RGBrgb(44, 35, 160)
HSLhsl(244, 64%, 38%)
HSVhsv(244, 78%, 63%)
CMYKcmyk(72.5%, 78.1%, 0%, 37.3%)
CIE-LABlab(24.56, 44.14, -65.30)
CIE-LCHlch(24.56, 78.81, 304.06°)
OKLaboklab(36.89% 0.0165 -0.1888)
OKLCHoklch(36.89% 0.19 275)
XYZxyz(7.9828, 4.2748, 33.6553)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C23A0 #97A023
analogous
#2358A0 #2C23A0 #6A23A0
triadic
#2C23A0 #A02C23 #23A02C
tetradic
#2C23A0 #A02358 #97A023 #23A06A
square
#2C23A0 #A02358 #97A023 #23A06A
split-complementary
#2C23A0 #A06A23 #58A023
monochromatic
#100D3C #1E186E #2C23A0 #3A2FD1 #6A61DC

Accessibility & contrast

On white

11.32
#2C23A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2C23A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C23A0
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C23A0#FFFFFF#000000##FFFFFF
##2C23A01.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A4
Deuteranopia (green-blind)
#00359E
Tritanopia (blue-blind)
#004861
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2c23a0;
/* rgb */ color: rgb(44, 35, 160);
/* oklch */ color: oklch(36.9% 0.190 275.0);
Tailwind
colors: {
  custom: {
    50: '#7861bd',
    500: '#2c23a0',
    950: '#000000',
  },
}
SCSS
$custom: #2c23a0;
$custom-light: #7861bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c23a0",
  "rgb": {
    "r": 44,
    "g": 35,
    "b": 160
  },
  "hsl": {
    "h": 244.32,
    "s": 64.103,
    "l": 38.235
  },
  "oklch": {
    "l": 0.36889,
    "c": 0.18954,
    "h": 275
  },
  "luminance": 0.04276
}

Semantic roles & 50–950 ramp

primary
#2C23A0
secondary
#BAC15D
accent
#E741DB
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2C23A0

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

Preview Lab → · Contrast checker → · Palette generator →

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