#2C23BB#2C23BB

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

Color values

HEX#2C23BB
RGBrgb(44, 35, 187)
HSLhsl(244, 68%, 44%)
HSVhsv(244, 81%, 73%)
CMYKcmyk(76.5%, 81.3%, 0%, 26.7%)
CIE-LABlab(27.64, 52.62, -76.42)
CIE-LCHlch(27.64, 92.78, 304.55°)
OKLaboklab(39.93% 0.01 -0.2211)
OKLCHoklch(39.93% 0.221 272.6)
XYZxyz(10.6064, 5.3243, 47.4728)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C23BB #B2BB23
analogous
#2366BB #2C23BB #7823BB
triadic
#2C23BB #BB2C23 #23BB2C
tetradic
#2C23BB #BB2366 #B2BB23 #23BB78
square
#2C23BB #BB2366 #B2BB23 #23BB78
split-complementary
#2C23BB #BB7823 #66BB23
monochromatic
#141054 #201987 #2C23BB #4940DB #7A74E5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C23BB#FFFFFF#000000##FFFFFF
##2C23BB1.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)
#0048BF
Deuteranopia (green-blind)
#003AB8
Tritanopia (blue-blind)
#005370
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2c23bb;
/* rgb */ color: rgb(44, 35, 187);
/* oklch */ color: oklch(39.9% 0.221 272.6);
Tailwind
colors: {
  custom: {
    50: '#7e62d1',
    500: '#2c23bb',
    950: '#000000',
  },
}
SCSS
$custom: #2c23bb;
$custom-light: #7e62d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c23bb",
  "rgb": {
    "r": 44,
    "g": 35,
    "b": 187
  },
  "hsl": {
    "h": 243.553,
    "s": 68.468,
    "l": 43.529
  },
  "oklch": {
    "l": 0.39935,
    "c": 0.22132,
    "h": 272.6
  },
  "luminance": 0.05325
}

Semantic roles & 50–950 ramp

primary
#2C23BB
secondary
#C6CC6E
accent
#EB3CE1
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0514
muted
#7D7A83

Preview Lab

Preview with #2C23BB

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

Preview Lab → · Contrast checker → · Palette generator →

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