#2A23BB#2A23BB

#2A23BB is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.8% C 0.222 H 272.0°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#2A23BB
RGBrgb(42, 35, 187)
HSLhsl(243, 68%, 44%)
HSVhsv(243, 81%, 73%)
CMYKcmyk(77.5%, 81.3%, 0%, 26.7%)
CIE-LABlab(27.52, 52.49, -76.62)
CIE-LCHlch(27.52, 92.87, 304.42°)
OKLaboklab(39.82% 0.0076 -0.2217)
OKLCHoklch(39.82% 0.222 272)
XYZxyz(10.5225, 5.2810, 47.4688)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A23BB #B4BB23
analogous
#2368BB #2A23BB #7623BB
triadic
#2A23BB #BB2A23 #23BB2A
tetradic
#2A23BB #BB2368 #B4BB23 #23BB76
square
#2A23BB #BB2368 #B4BB23 #23BB76
split-complementary
#2A23BB #BB7623 #68BB23
monochromatic
#131054 #1E1987 #2A23BB #4740DB #7974E5

Accessibility & contrast

On white

10.21
#2A23BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2A23BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A23BB
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A23BB#FFFFFF#000000##FFFFFF
##2A23BB1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048BF
Deuteranopia (green-blind)
#0039B8
Tritanopia (blue-blind)
#005370
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2a23bb;
/* rgb */ color: rgb(42, 35, 187);
/* oklch */ color: oklch(39.8% 0.222 272.0);
Tailwind
colors: {
  custom: {
    50: '#7e62d1',
    500: '#2a23bb',
    950: '#000000',
  },
}
SCSS
$custom: #2a23bb;
$custom-light: #7e62d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a23bb",
  "rgb": {
    "r": 42,
    "g": 35,
    "b": 187
  },
  "hsl": {
    "h": 242.763,
    "s": 68.468,
    "l": 43.529
  },
  "oklch": {
    "l": 0.39821,
    "c": 0.22184,
    "h": 272
  },
  "luminance": 0.05282
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A23BB

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

Preview Lab → · Contrast checker → · Palette generator →

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