#2C23AF#2C23AF

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

Color values

HEX#2C23AF
RGBrgb(44, 35, 175)
HSLhsl(244, 67%, 41%)
HSVhsv(244, 80%, 69%)
CMYKcmyk(74.9%, 80%, 0%, 31.4%)
CIE-LABlab(26.25, 48.91, -71.56)
CIE-LCHlch(26.25, 86.68, 304.35°)
OKLaboklab(38.57% 0.0129 -0.207)
OKLCHoklch(38.57% 0.207 273.6)
XYZxyz(9.3750, 4.8317, 40.9877)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C23AF #A6AF23
analogous
#2360AF #2C23AF #7223AF
triadic
#2C23AF #AF2C23 #23AF2C
tetradic
#2C23AF #AF2360 #A6AF23 #23AF72
square
#2C23AF #AF2360 #A6AF23 #23AF72
split-complementary
#2C23AF #AF7223 #60AF23
monochromatic
#120F49 #1F197C #2C23AF #4238D7 #736BE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C23AF#FFFFFF#000000##FFFFFF
##2C23AF1.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)
#0044B3
Deuteranopia (green-blind)
#0037AD
Tritanopia (blue-blind)
#004E69
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2c23af;
/* rgb */ color: rgb(44, 35, 175);
/* oklch */ color: oklch(38.6% 0.207 273.6);
Tailwind
colors: {
  custom: {
    50: '#7c62c8',
    500: '#2c23af',
    950: '#000000',
  },
}
SCSS
$custom: #2c23af;
$custom-light: #7c62c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c23af",
  "rgb": {
    "r": 44,
    "g": 35,
    "b": 175
  },
  "hsl": {
    "h": 243.857,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.38566,
    "c": 0.20743,
    "h": 273.6
  },
  "luminance": 0.04833
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C23AF

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

Preview Lab → · Contrast checker → · Palette generator →

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