#2255E3#2255E3

#2255E3 is a mid, highly saturated blue. Relative luminance 0.124; OKLCH L 51.2% C 0.222 H 264.4°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#2255E3
RGBrgb(34, 85, 227)
HSLhsl(224, 78%, 51%)
HSVhsv(224, 85%, 89%)
CMYKcmyk(85%, 62.6%, 0%, 11%)
CIE-LABlab(41.82, 36.69, -76.25)
CIE-LCHlch(41.82, 84.62, 295.70°)
OKLaboklab(51.22% -0.0216 -0.2209)
OKLCHoklch(51.22% 0.222 264.4)
XYZxyz(17.7684, 12.3809, 74.1114)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2255E3 #E3B022
analogous
#22B5E3 #2255E3 #4F22E3
triadic
#2255E3 #E32255 #55E322
tetradic
#2255E3 #E322B5 #E3B022 #22E34F
square
#2255E3 #E322B5 #E3B022 #22E34F
split-complementary
#2255E3 #E34F22 #B5E322
monochromatic
#102C7B #163FB1 #2255E3 #587FEA #8FA9F1

Accessibility & contrast

On white

6.04
#2255E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#2255E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2255E3
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2255E3#FFFFFF#000000##FFFFFF
##2255E31.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE8
Deuteranopia (green-blind)
#005AE0
Tritanopia (blue-blind)
#007B94
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2255e3;
/* rgb */ color: rgb(34, 85, 227);
/* oklch */ color: oklch(51.2% 0.222 264.4);
Tailwind
colors: {
  custom: {
    50: '#8184ed',
    500: '#2255e3',
    950: '#000000',
  },
}
SCSS
$custom: #2255e3;
$custom-light: #8184ed;
$custom-dark: #000000;
JSON
{
  "hex": "#2255e3",
  "rgb": {
    "r": 34,
    "g": 85,
    "b": 227
  },
  "hsl": {
    "h": 224.145,
    "s": 77.51,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51224,
    "c": 0.22193,
    "h": 264.4
  },
  "luminance": 0.12383
}

Semantic roles & 50–950 ramp

primary
#2255E3
secondary
#DBC586
accent
#C134F4
background
#F8F8FE
surface
#F0EFFD
border
#CBCAD5
text
#0D0A16
muted
#7D7C84

Preview Lab

Preview with #2255E3

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

Preview Lab → · Contrast checker → · Palette generator →

#2255E3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva