#255CE2#255CE2

#255CE2 is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 52.5% C 0.212 H 263.7°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#255CE2
RGBrgb(37, 92, 226)
HSLhsl(223, 77%, 52%)
HSVhsv(223, 84%, 89%)
CMYKcmyk(83.6%, 59.3%, 0%, 11.4%)
CIE-LABlab(43.56, 32.06, -72.82)
CIE-LCHlch(43.56, 79.57, 293.76°)
OKLaboklab(52.52% -0.0233 -0.2107)
OKLCHoklch(52.52% 0.212 263.7)
XYZxyz(18.3127, 13.5363, 73.5844)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255CE2 #E2AB25
analogous
#25BAE2 #255CE2 #4D25E2
triadic
#255CE2 #E2255C #5CE225
tetradic
#255CE2 #E225BA #E2AB25 #25E24D
square
#255CE2 #E225BA #E2AB25 #25E24D
split-complementary
#255CE2 #E24D25 #BAE225
monochromatic
#11307C #1845B2 #255CE2 #5B84E9 #91ADF0

Accessibility & contrast

On white

5.66
#255CE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#255CE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #255CE2
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255CE2#FFFFFF#000000##FFFFFF
##255CE21.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E6
Deuteranopia (green-blind)
#005FDF
Tritanopia (blue-blind)
#007E96
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #255ce2;
/* rgb */ color: rgb(37, 92, 226);
/* oklch */ color: oklch(52.5% 0.212 263.7);
Tailwind
colors: {
  custom: {
    50: '#8189ec',
    500: '#255ce2',
    950: '#000000',
  },
}
SCSS
$custom: #255ce2;
$custom-light: #8189ec;
$custom-dark: #000000;
JSON
{
  "hex": "#255ce2",
  "rgb": {
    "r": 37,
    "g": 92,
    "b": 226
  },
  "hsl": {
    "h": 222.54,
    "s": 76.518,
    "l": 51.569
  },
  "oklch": {
    "l": 0.52521,
    "c": 0.212,
    "h": 263.7
  },
  "luminance": 0.13539
}

Semantic roles & 50–950 ramp

primary
#255CE2
secondary
#DBC388
accent
#BC35F3
background
#F8F8FE
surface
#F0F0FD
border
#CBCBD5
text
#0D0B16
muted
#7D7C84

Preview Lab

Preview with #255CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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