#2351E2#2351E2

#2351E2 is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 50.4% C 0.225 H 265.1°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#2351E2
RGBrgb(35, 81, 226)
HSLhsl(226, 77%, 51%)
HSVhsv(226, 85%, 89%)
CMYKcmyk(84.5%, 64.2%, 0%, 11.4%)
CIE-LABlab(40.79, 38.91, -77.37)
CIE-LCHlch(40.79, 86.60, 296.70°)
OKLaboklab(50.44% -0.0192 -0.2242)
OKLCHoklch(50.44% 0.225 265.1)
XYZxyz(17.3582, 11.7310, 73.2862)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2351E2 #E2B423
analogous
#23B0E2 #2351E2 #5423E2
triadic
#2351E2 #E22351 #51E223
tetradic
#2351E2 #E223B0 #E2B423 #23E254
square
#2351E2 #E223B0 #E2B423 #23E254
split-complementary
#2351E2 #E25423 #B0E223
monochromatic
#102A7A #173CB1 #2351E2 #597CE9 #8FA7F0

Accessibility & contrast

On white

6.28
#2351E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#2351E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2351E2
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2351E2#FFFFFF#000000##FFFFFF
##2351E21.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E7
Deuteranopia (green-blind)
#0057DF
Tritanopia (blue-blind)
#007892
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2351e2;
/* rgb */ color: rgb(35, 81, 226);
/* oklch */ color: oklch(50.4% 0.225 265.1);
Tailwind
colors: {
  custom: {
    50: '#8281ec',
    500: '#2351e2',
    950: '#000000',
  },
}
SCSS
$custom: #2351e2;
$custom-light: #8281ec;
$custom-dark: #000000;
JSON
{
  "hex": "#2351e2",
  "rgb": {
    "r": 35,
    "g": 81,
    "b": 226
  },
  "hsl": {
    "h": 225.55,
    "s": 76.707,
    "l": 51.176
  },
  "oklch": {
    "l": 0.50445,
    "c": 0.225,
    "h": 265.1
  },
  "luminance": 0.11733
}

Semantic roles & 50–950 ramp

primary
#2351E2
secondary
#DBC686
accent
#C535F3
background
#F9F7FE
surface
#F1EEFD
border
#CBC9D5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #2351E2

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

Preview Lab → · Contrast checker → · Palette generator →

#2351E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva