#2A23AC#2A23AC

#2A23AC is a dark, highly saturated blue. Relative luminance 0.047; OKLCH L 38.1% C 0.204 H 273.1°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#2A23AC
RGBrgb(42, 35, 172)
HSLhsl(243, 66%, 41%)
HSVhsv(243, 80%, 67%)
CMYKcmyk(75.6%, 79.7%, 0%, 32.5%)
CIE-LABlab(25.78, 47.81, -70.55)
CIE-LCHlch(25.78, 85.22, 304.13°)
OKLaboklab(38.1% 0.0111 -0.2041)
OKLCHoklch(38.1% 0.204 273.1)
XYZxyz(8.9998, 4.6719, 39.4492)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A23AC #A5AC23
analogous
#2360AC #2A23AC #6F23AC
triadic
#2A23AC #AC2A23 #23AC2A
tetradic
#2A23AC #AC2360 #A5AC23 #23AC6F
square
#2A23AC #AC2360 #A5AC23 #23AC6F
split-complementary
#2A23AC #AC6F23 #60AC23
monochromatic
#110E46 #1E1979 #2A23AC #3E36D6 #6F69E0

Accessibility & contrast

On white

10.85
#2A23AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2A23AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A23AC
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A23AC#FFFFFF#000000##FFFFFF
##2A23AC1.0010.851.9310.85
#FFFFFF10.851.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B0
Deuteranopia (green-blind)
#0036AA
Tritanopia (blue-blind)
#004D68
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2a23ac;
/* rgb */ color: rgb(42, 35, 172);
/* oklch */ color: oklch(38.1% 0.204 273.1);
Tailwind
colors: {
  custom: {
    50: '#7a61c6',
    500: '#2a23ac',
    950: '#000000',
  },
}
SCSS
$custom: #2a23ac;
$custom-light: #7a61c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a23ac",
  "rgb": {
    "r": 42,
    "g": 35,
    "b": 172
  },
  "hsl": {
    "h": 243.066,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.38104,
    "c": 0.20442,
    "h": 273.1
  },
  "luminance": 0.04673
}

Semantic roles & 50–950 ramp

primary
#2A23AC
secondary
#C1C664
accent
#E93FE0
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2A23AC

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

Preview Lab → · Contrast checker → · Palette generator →

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