#255EE2#255EE2

#255EE2 is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 52.9% C 0.210 H 263.3°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#255EE2
RGBrgb(37, 94, 226)
HSLhsl(222, 77%, 52%)
HSVhsv(222, 84%, 89%)
CMYKcmyk(83.6%, 58.4%, 0%, 11.4%)
CIE-LABlab(44.07, 30.78, -71.99)
CIE-LCHlch(44.07, 78.29, 293.15°)
OKLaboklab(52.9% -0.0244 -0.2082)
OKLCHoklch(52.9% 0.21 263.3)
XYZxyz(18.4882, 13.8874, 73.6429)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255EE2 #E2A925
analogous
#25BCE2 #255EE2 #4B25E2
triadic
#255EE2 #E2255E #5EE225
tetradic
#255EE2 #E225BC #E2A925 #25E24B
square
#255EE2 #E225BC #E2A925 #25E24B
split-complementary
#255EE2 #E24B25 #BCE225
monochromatic
#11317C #1846B2 #255EE2 #5B86E9 #91AEF0

Accessibility & contrast

On white

5.56
#255EE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#255EE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #255EE2
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255EE2#FFFFFF#000000##FFFFFF
##255EE21.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E6
Deuteranopia (green-blind)
#0060DF
Tritanopia (blue-blind)
#008097
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #255ee2;
/* rgb */ color: rgb(37, 94, 226);
/* oklch */ color: oklch(52.9% 0.210 263.3);
Tailwind
colors: {
  custom: {
    50: '#818bec',
    500: '#255ee2',
    950: '#000000',
  },
}
SCSS
$custom: #255ee2;
$custom-light: #818bec;
$custom-dark: #000000;
JSON
{
  "hex": "#255ee2",
  "rgb": {
    "r": 37,
    "g": 94,
    "b": 226
  },
  "hsl": {
    "h": 221.905,
    "s": 76.518,
    "l": 51.569
  },
  "oklch": {
    "l": 0.52903,
    "c": 0.20966,
    "h": 263.3
  },
  "luminance": 0.1389
}

Semantic roles & 50–950 ramp

primary
#255EE2
secondary
#DBC288
accent
#BA35F3
background
#F8F8FE
surface
#F0F0FD
border
#CBCBD5
text
#0C0B16
muted
#7D7C84

Preview Lab

Preview with #255EE2

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

Preview Lab → · Contrast checker → · Palette generator →

#255EE2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva