#2358E2#2358E2

#2358E2 is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 51.7% C 0.217 H 264.1°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#2358E2
RGBrgb(35, 88, 226)
HSLhsl(223, 77%, 51%)
HSVhsv(223, 85%, 89%)
CMYKcmyk(84.5%, 61.1%, 0%, 11.4%)
CIE-LABlab(42.50, 34.48, -74.56)
CIE-LCHlch(42.50, 82.14, 294.82°)
OKLaboklab(51.71% -0.0224 -0.2159)
OKLCHoklch(51.71% 0.217 264.1)
XYZxyz(17.9054, 12.8255, 73.4686)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2358E2 #E2AD23
analogous
#23B7E2 #2358E2 #4D23E2
triadic
#2358E2 #E22358 #58E223
tetradic
#2358E2 #E223B7 #E2AD23 #23E24D
square
#2358E2 #E223B7 #E2AD23 #23E24D
split-complementary
#2358E2 #E24D23 #B7E223
monochromatic
#102E7A #1742B1 #2358E2 #5981E9 #8FAAF0

Accessibility & contrast

On white

5.89
#2358E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#2358E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2358E2
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2358E2#FFFFFF#000000##FFFFFF
##2358E21.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE7
Deuteranopia (green-blind)
#005CDF
Tritanopia (blue-blind)
#007C95
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2358e2;
/* rgb */ color: rgb(35, 88, 226);
/* oklch */ color: oklch(51.7% 0.217 264.1);
Tailwind
colors: {
  custom: {
    50: '#8186ec',
    500: '#2358e2',
    950: '#000000',
  },
}
SCSS
$custom: #2358e2;
$custom-light: #8186ec;
$custom-dark: #000000;
JSON
{
  "hex": "#2358e2",
  "rgb": {
    "r": 35,
    "g": 88,
    "b": 226
  },
  "hsl": {
    "h": 223.351,
    "s": 76.707,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51714,
    "c": 0.21705,
    "h": 264.1
  },
  "luminance": 0.12828
}

Semantic roles & 50–950 ramp

primary
#2358E2
secondary
#DBC386
accent
#BE35F3
background
#F8F8FE
surface
#F0EFFD
border
#CBCAD5
text
#0D0B16
muted
#7D7C84

Preview Lab

Preview with #2358E2

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

Preview Lab → · Contrast checker → · Palette generator →

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