#2A23AE#2A23AE

#2A23AE is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.3% C 0.207 H 272.9°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#2A23AE
RGBrgb(42, 35, 174)
HSLhsl(243, 67%, 41%)
HSVhsv(243, 80%, 68%)
CMYKcmyk(75.9%, 79.9%, 0%, 31.8%)
CIE-LABlab(26.01, 48.45, -71.37)
CIE-LCHlch(26.01, 86.26, 304.17°)
OKLaboklab(38.33% 0.0106 -0.2065)
OKLCHoklch(38.33% 0.207 272.9)
XYZxyz(9.1933, 4.7493, 40.4684)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A23AE #A7AE23
analogous
#2361AE #2A23AE #6F23AE
triadic
#2A23AE #AE2A23 #23AE2A
tetradic
#2A23AE #AE2361 #A7AE23 #23AE6F
square
#2A23AE #AE2361 #A7AE23 #23AE6F
split-complementary
#2A23AE #AE6F23 #61AE23
monochromatic
#110F48 #1E197B #2A23AE #3F37D7 #706AE1

Accessibility & contrast

On white

10.77
#2A23AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2A23AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A23AE
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A23AE#FFFFFF#000000##FFFFFF
##2A23AE1.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B2
Deuteranopia (green-blind)
#0037AC
Tritanopia (blue-blind)
#004E69
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2a23ae;
/* rgb */ color: rgb(42, 35, 174);
/* oklch */ color: oklch(38.3% 0.207 272.9);
Tailwind
colors: {
  custom: {
    50: '#7b61c8',
    500: '#2a23ae',
    950: '#000000',
  },
}
SCSS
$custom: #2a23ae;
$custom-light: #7b61c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a23ae",
  "rgb": {
    "r": 42,
    "g": 35,
    "b": 174
  },
  "hsl": {
    "h": 243.022,
    "s": 66.507,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38331,
    "c": 0.20677,
    "h": 272.9
  },
  "luminance": 0.0475
}

Semantic roles & 50–950 ramp

primary
#2A23AE
secondary
#C2C766
accent
#E93EE1
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2A23AE

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

Preview Lab → · Contrast checker → · Palette generator →

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