#2327D4#2327D4

#2327D4 is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.8% C 0.249 H 268.7°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#2327D4
RGBrgb(35, 39, 212)
HSLhsl(239, 72%, 48%)
HSVhsv(239, 83%, 83%)
CMYKcmyk(83.5%, 81.6%, 0%, 16.9%)
CIE-LABlab(30.78, 57.92, -85.85)
CIE-LCHlch(30.78, 103.56, 304.00°)
OKLaboklab(42.84% -0.0058 -0.2486)
OKLCHoklch(42.84% 0.249 268.7)
XYZxyz(13.2983, 6.5602, 62.8399)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2327D4 #D4D023
analogous
#237FD4 #2327D4 #7723D4
triadic
#2327D4 #D42327 #27D423
tetradic
#2327D4 #D4237F #D4D023 #23D477
square
#2327D4 #D4237F #D4D023 #23D477
split-complementary
#2327D4 #D47723 #7FD423
monochromatic
#12146B #1A1D9F #2327D4 #5255E2 #8689EB

Accessibility & contrast

On white

9.08
#2327D4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2327D4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2327D4
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2327D4#FFFFFF#000000##FFFFFF
##2327D41.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051D9
Deuteranopia (green-blind)
#003FD1
Tritanopia (blue-blind)
#005F80
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2327d4;
/* rgb */ color: rgb(35, 39, 212);
/* oklch */ color: oklch(42.8% 0.249 268.7);
Tailwind
colors: {
  custom: {
    50: '#8266e3',
    500: '#2327d4',
    950: '#000000',
  },
}
SCSS
$custom: #2327d4;
$custom-light: #8266e3;
$custom-dark: #000000;
JSON
{
  "hex": "#2327d4",
  "rgb": {
    "r": 35,
    "g": 39,
    "b": 212
  },
  "hsl": {
    "h": 238.644,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.42844,
    "c": 0.24869,
    "h": 268.7
  },
  "luminance": 0.06562
}

Semantic roles & 50–950 ramp

primary
#2327D4
secondary
#D4D27E
accent
#EA39EE
background
#F9F6FE
surface
#F1EBFC
border
#CBC6D5
text
#0D0616
muted
#7E7A84

Preview Lab

Preview with #2327D4

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

Preview Lab → · Contrast checker → · Palette generator →

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