#2323A7#2323A7

#2323A7 is a dark, highly saturated blue. Relative luminance 0.043; OKLCH L 37.1% C 0.200 H 271.1°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#2323A7
RGBrgb(35, 35, 167)
HSLhsl(240, 65%, 40%)
HSVhsv(240, 79%, 65%)
CMYKcmyk(79%, 79%, 0%, 34.5%)
CIE-LABlab(24.79, 45.71, -69.18)
CIE-LCHlch(24.79, 82.91, 303.45°)
OKLaboklab(37.14% 0.0039 -0.2003)
OKLCHoklch(37.14% 0.2 271.1)
XYZxyz(8.2669, 4.3485, 36.9554)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2323A7 #A7A723
analogous
#2365A7 #2323A7 #6523A7
triadic
#2323A7 #A72323 #23A723
tetradic
#2323A7 #A72365 #A7A723 #23A765
square
#2323A7 #A72365 #A7A723 #23A765
split-complementary
#2323A7 #A76523 #65A723
monochromatic
#0E0E42 #181874 #2323A7 #3333D4 #6666DF

Accessibility & contrast

On white

11.23
#2323A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2323A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2323A7
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2323A7#FFFFFF#000000##FFFFFF
##2323A71.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AB
Deuteranopia (green-blind)
#0034A5
Tritanopia (blue-blind)
#004C65
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2323a7;
/* rgb */ color: rgb(35, 35, 167);
/* oklch */ color: oklch(37.1% 0.200 271.1);
Tailwind
colors: {
  custom: {
    50: '#7761c3',
    500: '#2323a7',
    950: '#000000',
  },
}
SCSS
$custom: #2323a7;
$custom-light: #7761c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2323a7",
  "rgb": {
    "r": 35,
    "g": 35,
    "b": 167
  },
  "hsl": {
    "h": 240,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.37135,
    "c": 0.20033,
    "h": 271.1
  },
  "luminance": 0.04349
}

Semantic roles & 50–950 ramp

primary
#2323A7
secondary
#C4C461
accent
#E83FE8
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0A0513
muted
#7C7982

Preview Lab

Preview with #2323A7

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

Preview Lab → · Contrast checker → · Palette generator →

#2323A7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva