#2A23BC#2A23BC

#2A23BC is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.9% C 0.223 H 271.9°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#2A23BC
RGBrgb(42, 35, 188)
HSLhsl(243, 69%, 44%)
HSVhsv(243, 81%, 74%)
CMYKcmyk(77.7%, 81.4%, 0%, 26.3%)
CIE-LABlab(27.64, 52.80, -77.01)
CIE-LCHlch(27.64, 93.37, 304.44°)
OKLaboklab(39.94% 0.0073 -0.2229)
OKLCHoklch(39.94% 0.223 271.9)
XYZxyz(10.6299, 5.3240, 48.0346)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A23BC #B5BC23
analogous
#2368BC #2A23BC #7623BC
triadic
#2A23BC #BC2A23 #23BC2A
tetradic
#2A23BC #BC2368 #B5BC23 #23BC76
square
#2A23BC #BC2368 #B5BC23 #23BC76
split-complementary
#2A23BC #BC7623 #68BC23
monochromatic
#131055 #1E1988 #2A23BC #4841DC #7974E5

Accessibility & contrast

On white

10.17
#2A23BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2A23BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A23BC
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A23BC#FFFFFF#000000##FFFFFF
##2A23BC1.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049C0
Deuteranopia (green-blind)
#003AB9
Tritanopia (blue-blind)
#005471
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2a23bc;
/* rgb */ color: rgb(42, 35, 188);
/* oklch */ color: oklch(39.9% 0.223 271.9);
Tailwind
colors: {
  custom: {
    50: '#7e62d2',
    500: '#2a23bc',
    950: '#000000',
  },
}
SCSS
$custom: #2a23bc;
$custom-light: #7e62d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a23bc",
  "rgb": {
    "r": 42,
    "g": 35,
    "b": 188
  },
  "hsl": {
    "h": 242.745,
    "s": 68.61,
    "l": 43.725
  },
  "oklch": {
    "l": 0.39937,
    "c": 0.22298,
    "h": 271.9
  },
  "luminance": 0.05325
}

Semantic roles & 50–950 ramp

primary
#2A23BC
secondary
#C8CC6F
accent
#EB3CE3
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0514
muted
#7D7A83

Preview Lab

Preview with #2A23BC

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

Preview Lab → · Contrast checker → · Palette generator →

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