#2A23B0#2A23B0

#2A23B0 is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.6% C 0.209 H 272.8°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#2A23B0
RGBrgb(42, 35, 176)
HSLhsl(243, 67%, 41%)
HSVhsv(243, 80%, 69%)
CMYKcmyk(76.1%, 80.1%, 0%, 31%)
CIE-LABlab(26.24, 49.08, -72.19)
CIE-LCHlch(26.24, 87.29, 304.21°)
OKLaboklab(38.56% 0.0101 -0.2089)
OKLCHoklch(38.56% 0.209 272.8)
XYZxyz(9.3897, 4.8279, 41.5029)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A23B0 #A9B023
analogous
#2363B0 #2A23B0 #7123B0
triadic
#2A23B0 #B02A23 #23B02A
tetradic
#2A23B0 #B02363 #A9B023 #23B071
square
#2A23B0 #B02363 #A9B023 #23B071
split-complementary
#2A23B0 #B07123 #63B023
monochromatic
#120F4A #1E197D #2A23B0 #4139D8 #726CE2

Accessibility & contrast

On white

10.68
#2A23B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2A23B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A23B0
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A23B0#FFFFFF#000000##FFFFFF
##2A23B01.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B4
Deuteranopia (green-blind)
#0037AE
Tritanopia (blue-blind)
#004F6A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2a23b0;
/* rgb */ color: rgb(42, 35, 176);
/* oklch */ color: oklch(38.6% 0.209 272.8);
Tailwind
colors: {
  custom: {
    50: '#7b62c9',
    500: '#2a23b0',
    950: '#000000',
  },
}
SCSS
$custom: #2a23b0;
$custom-light: #7b62c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a23b0",
  "rgb": {
    "r": 42,
    "g": 35,
    "b": 176
  },
  "hsl": {
    "h": 242.979,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.38558,
    "c": 0.20913,
    "h": 272.8
  },
  "luminance": 0.04829
}

Semantic roles & 50–950 ramp

primary
#2A23B0
secondary
#C3C867
accent
#EA3EE1
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2A23B0

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

Preview Lab → · Contrast checker → · Palette generator →

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