#2332D4#2332D4

#2332D4 is a dark, highly saturated blue. Relative luminance 0.074; OKLCH L 44.2% C 0.240 H 268.1°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#2332D4
RGBrgb(35, 50, 212)
HSLhsl(235, 72%, 48%)
HSVhsv(235, 83%, 83%)
CMYKcmyk(83.5%, 76.4%, 0%, 16.9%)
CIE-LABlab(32.68, 52.42, -82.71)
CIE-LCHlch(32.68, 97.92, 302.37°)
OKLaboklab(44.17% -0.0079 -0.2397)
OKLCHoklch(44.17% 0.24 268.1)
XYZxyz(13.7133, 7.3903, 62.9783)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2332D4 #D4C523
analogous
#238AD4 #2332D4 #6C23D4
triadic
#2332D4 #D42332 #32D423
tetradic
#2332D4 #D4238A #D4C523 #23D46C
square
#2332D4 #D4238A #D4C523 #23D46C
split-complementary
#2332D4 #D46C23 #8AD423
monochromatic
#12196B #1A269F #2332D4 #525EE2 #868FEB

Accessibility & contrast

On white

8.47
#2332D4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2332D4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2332D4
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2332D4#FFFFFF#000000##FFFFFF
##2332D41.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056D9
Deuteranopia (green-blind)
#0044D1
Tritanopia (blue-blind)
#006382
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2332d4;
/* rgb */ color: rgb(35, 50, 212);
/* oklch */ color: oklch(44.2% 0.240 268.1);
Tailwind
colors: {
  custom: {
    50: '#816ce3',
    500: '#2332d4',
    950: '#000000',
  },
}
SCSS
$custom: #2332d4;
$custom-light: #816ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#2332d4",
  "rgb": {
    "r": 35,
    "g": 50,
    "b": 212
  },
  "hsl": {
    "h": 234.915,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.44172,
    "c": 0.23982,
    "h": 268.1
  },
  "luminance": 0.07392
}

Semantic roles & 50–950 ramp

primary
#2332D4
secondary
#D4CD7E
accent
#DF39EE
background
#F8F6FE
surface
#F0EBFC
border
#CBC6D5
text
#0D0716
muted
#7D7A84

Preview Lab

Preview with #2332D4

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

Preview Lab → · Contrast checker → · Palette generator →

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