#2354E2#2354E2

#2354E2 is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.0% C 0.222 H 264.7°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#2354E2
RGBrgb(35, 84, 226)
HSLhsl(225, 77%, 51%)
HSVhsv(225, 85%, 89%)
CMYKcmyk(84.5%, 62.8%, 0%, 11.4%)
CIE-LABlab(41.51, 37.02, -76.18)
CIE-LCHlch(41.51, 84.70, 295.92°)
OKLaboklab(50.98% -0.0205 -0.2207)
OKLCHoklch(50.98% 0.222 264.7)
XYZxyz(17.5861, 12.1868, 73.3622)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2354E2 #E2B123
analogous
#23B4E2 #2354E2 #5123E2
triadic
#2354E2 #E22354 #54E223
tetradic
#2354E2 #E223B4 #E2B123 #23E251
square
#2354E2 #E223B4 #E2B123 #23E251
split-complementary
#2354E2 #E25123 #B4E223
monochromatic
#102B7A #173FB1 #2354E2 #597EE9 #8FA8F0

Accessibility & contrast

On white

6.11
#2354E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#2354E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2354E2
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2354E2#FFFFFF#000000##FFFFFF
##2354E21.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE7
Deuteranopia (green-blind)
#0059DF
Tritanopia (blue-blind)
#007A93
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2354e2;
/* rgb */ color: rgb(35, 84, 226);
/* oklch */ color: oklch(51.0% 0.222 264.7);
Tailwind
colors: {
  custom: {
    50: '#8183ec',
    500: '#2354e2',
    950: '#000000',
  },
}
SCSS
$custom: #2354e2;
$custom-light: #8183ec;
$custom-dark: #000000;
JSON
{
  "hex": "#2354e2",
  "rgb": {
    "r": 35,
    "g": 84,
    "b": 226
  },
  "hsl": {
    "h": 224.607,
    "s": 76.707,
    "l": 51.176
  },
  "oklch": {
    "l": 0.50981,
    "c": 0.22162,
    "h": 264.7
  },
  "luminance": 0.12189
}

Semantic roles & 50–950 ramp

primary
#2354E2
secondary
#DBC586
accent
#C235F3
background
#F8F8FE
surface
#F0EFFD
border
#CBCAD5
text
#0D0A16
muted
#7D7C84

Preview Lab

Preview with #2354E2

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

Preview Lab → · Contrast checker → · Palette generator →

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