#2B23BC#2B23BC

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

Color values

HEX#2B23BC
RGBrgb(43, 35, 188)
HSLhsl(243, 69%, 44%)
HSVhsv(243, 81%, 74%)
CMYKcmyk(77.1%, 81.4%, 0%, 26.3%)
CIE-LABlab(27.70, 52.86, -76.91)
CIE-LCHlch(27.70, 93.33, 304.50°)
OKLaboklab(39.99% 0.0085 -0.2226)
OKLCHoklch(39.99% 0.223 272.2)
XYZxyz(10.6713, 5.3453, 48.0365)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B23BC #B4BC23
analogous
#2367BC #2B23BC #7723BC
triadic
#2B23BC #BC2B23 #23BC2B
tetradic
#2B23BC #BC2367 #B4BC23 #23BC77
square
#2B23BC #BC2367 #B4BC23 #23BC77
split-complementary
#2B23BC #BC7723 #67BC23
monochromatic
#131055 #1F1988 #2B23BC #4941DC #7A74E5

Accessibility & contrast

On white

10.15
#2B23BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B23BC
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B23BC#FFFFFF#000000##FFFFFF
##2B23BC1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.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: #2b23bc;
/* rgb */ color: rgb(43, 35, 188);
/* oklch */ color: oklch(40.0% 0.223 272.2);
Tailwind
colors: {
  custom: {
    50: '#7e62d2',
    500: '#2b23bc',
    950: '#000000',
  },
}
SCSS
$custom: #2b23bc;
$custom-light: #7e62d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b23bc",
  "rgb": {
    "r": 43,
    "g": 35,
    "b": 188
  },
  "hsl": {
    "h": 243.137,
    "s": 68.61,
    "l": 43.725
  },
  "oklch": {
    "l": 0.39993,
    "c": 0.22272,
    "h": 272.2
  },
  "luminance": 0.05346
}

Semantic roles & 50–950 ramp

primary
#2B23BC
secondary
#C7CC6F
accent
#EB3CE2
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0514
muted
#7D7A83

Preview Lab

Preview with #2B23BC

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

Preview Lab → · Contrast checker → · Palette generator →

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