#2327BA#2327BA

#2327BA is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 39.8% C 0.219 H 269.7°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#2327BA
RGBrgb(35, 39, 186)
HSLhsl(238, 68%, 43%)
HSVhsv(238, 81%, 73%)
CMYKcmyk(81.2%, 79%, 0%, 27.1%)
CIE-LABlab(27.72, 49.78, -75.71)
CIE-LCHlch(27.72, 90.61, 303.33°)
OKLaboklab(39.82% -0.001 -0.2193)
OKLCHoklch(39.82% 0.219 269.7)
XYZxyz(10.2786, 5.3523, 46.9362)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2327BA #BAB623
analogous
#2372BA #2327BA #6B23BA
triadic
#2327BA #BA2327 #27BA23
tetradic
#2327BA #BA2372 #BAB623 #23BA6B
square
#2327BA #BA2372 #BAB623 #23BA6B
split-complementary
#2327BA #BA6B23 #72BA23
monochromatic
#101153 #191C86 #2327BA #3F43DB #7376E5

Accessibility & contrast

On white

10.14
#2327BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2327BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2327BA
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2327BA#FFFFFF#000000##FFFFFF
##2327BA1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049BE
Deuteranopia (green-blind)
#003AB7
Tritanopia (blue-blind)
#005570
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2327ba;
/* rgb */ color: rgb(35, 39, 186);
/* oklch */ color: oklch(39.8% 0.219 269.7);
Tailwind
colors: {
  custom: {
    50: '#7b64d0',
    500: '#2327ba',
    950: '#000000',
  },
}
SCSS
$custom: #2327ba;
$custom-light: #7b64d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2327ba",
  "rgb": {
    "r": 35,
    "g": 39,
    "b": 186
  },
  "hsl": {
    "h": 238.411,
    "s": 68.326,
    "l": 43.333
  },
  "oklch": {
    "l": 0.39823,
    "c": 0.21928,
    "h": 269.7
  },
  "luminance": 0.05354
}

Semantic roles & 50–950 ramp

primary
#2327BA
secondary
#CCC96D
accent
#E73DEB
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0B0614
muted
#7C7A83

Preview Lab

Preview with #2327BA

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

Preview Lab → · Contrast checker → · Palette generator →

#2327BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva