#2C23B0#2C23B0

#2C23B0 is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 38.7% C 0.209 H 273.5°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#2C23B0
RGBrgb(44, 35, 176)
HSLhsl(244, 67%, 41%)
HSVhsv(244, 80%, 69%)
CMYKcmyk(75%, 80.1%, 0%, 31%)
CIE-LABlab(26.36, 49.22, -71.97)
CIE-LCHlch(26.36, 87.20, 304.37°)
OKLaboklab(38.68% 0.0126 -0.2082)
OKLCHoklch(38.68% 0.209 273.5)
XYZxyz(9.4736, 4.8711, 41.5068)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C23B0 #A7B023
analogous
#2361B0 #2C23B0 #7323B0
triadic
#2C23B0 #B02C23 #23B02C
tetradic
#2C23B0 #B02361 #A7B023 #23B073
square
#2C23B0 #B02361 #A7B023 #23B073
split-complementary
#2C23B0 #B07323 #61B023
monochromatic
#120F4A #1F197D #2C23B0 #4339D8 #736CE2

Accessibility & contrast

On white

10.64
#2C23B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C23B0
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C23B0#FFFFFF#000000##FFFFFF
##2C23B01.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c23b0;
/* rgb */ color: rgb(44, 35, 176);
/* oklch */ color: oklch(38.7% 0.209 273.5);
Tailwind
colors: {
  custom: {
    50: '#7c62c9',
    500: '#2c23b0',
    950: '#000000',
  },
}
SCSS
$custom: #2c23b0;
$custom-light: #7c62c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c23b0",
  "rgb": {
    "r": 44,
    "g": 35,
    "b": 176
  },
  "hsl": {
    "h": 243.83,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.38679,
    "c": 0.2086,
    "h": 273.5
  },
  "luminance": 0.04872
}

Semantic roles & 50–950 ramp

primary
#2C23B0
secondary
#C2C867
accent
#EA3EDF
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2C23B0

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

Preview Lab → · Contrast checker → · Palette generator →

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