#2A23C1#2A23C1

#2A23C1 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.5% C 0.229 H 271.5°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#2A23C1
RGBrgb(42, 35, 193)
HSLhsl(243, 69%, 45%)
HSVhsv(243, 82%, 76%)
CMYKcmyk(78.2%, 81.9%, 0%, 24.3%)
CIE-LABlab(28.23, 54.33, -78.99)
CIE-LCHlch(28.23, 95.86, 304.52°)
OKLaboklab(40.52% 0.0062 -0.2286)
OKLCHoklch(40.52% 0.229 271.5)
XYZxyz(11.1783, 5.5433, 50.9226)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A23C1 #BAC123
analogous
#236BC1 #2A23C1 #7923C1
triadic
#2A23C1 #C12A23 #23C12A
tetradic
#2A23C1 #C1236B #BAC123 #23C179
square
#2A23C1 #C1236B #BAC123 #23C179
split-complementary
#2A23C1 #C17923 #6BC123
monochromatic
#131059 #1F1A8D #2A23C1 #4B44DD #7D78E6

Accessibility & contrast

On white

9.96
#2A23C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2A23C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A23C1
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A23C1#FFFFFF#000000##FFFFFF
##2A23C11.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AC5
Deuteranopia (green-blind)
#003BBE
Tritanopia (blue-blind)
#005674
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2a23c1;
/* rgb */ color: rgb(42, 35, 193);
/* oklch */ color: oklch(40.5% 0.229 271.5);
Tailwind
colors: {
  custom: {
    50: '#7f63d5',
    500: '#2a23c1',
    950: '#000000',
  },
}
SCSS
$custom: #2a23c1;
$custom-light: #7f63d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a23c1",
  "rgb": {
    "r": 42,
    "g": 35,
    "b": 193
  },
  "hsl": {
    "h": 242.658,
    "s": 69.298,
    "l": 44.706
  },
  "oklch": {
    "l": 0.40517,
    "c": 0.22866,
    "h": 271.5
  },
  "luminance": 0.05545
}

Semantic roles & 50–950 ramp

primary
#2A23C1
secondary
#CACE72
accent
#EC3CE4
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0514
muted
#7D7A83

Preview Lab

Preview with #2A23C1

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

Preview Lab → · Contrast checker → · Palette generator →

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