#255DE2#255DE2

#255DE2 is a mid, highly saturated blue. Relative luminance 0.137; OKLCH L 52.7% C 0.211 H 263.5°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#255DE2
RGBrgb(37, 93, 226)
HSLhsl(222, 77%, 52%)
HSVhsv(222, 84%, 89%)
CMYKcmyk(83.6%, 58.8%, 0%, 11.4%)
CIE-LABlab(43.82, 31.42, -72.40)
CIE-LCHlch(43.82, 78.93, 293.46°)
OKLaboklab(52.71% -0.0238 -0.2095)
OKLCHoklch(52.71% 0.211 263.5)
XYZxyz(18.3999, 13.7107, 73.6134)
Luminance0.1371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255DE2 #E2AA25
analogous
#25BCE2 #255DE2 #4C25E2
triadic
#255DE2 #E2255D #5DE225
tetradic
#255DE2 #E225BC #E2AA25 #25E24C
square
#255DE2 #E225BC #E2AA25 #25E24C
split-complementary
#255DE2 #E24C25 #BCE225
monochromatic
#11307C #1845B2 #255DE2 #5B85E9 #91ADF0

Accessibility & contrast

On white

5.61
#255DE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#255DE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #255DE2
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255DE2#FFFFFF#000000##FFFFFF
##255DE21.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E6
Deuteranopia (green-blind)
#005FDF
Tritanopia (blue-blind)
#007F96
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #255de2;
/* rgb */ color: rgb(37, 93, 226);
/* oklch */ color: oklch(52.7% 0.211 263.5);
Tailwind
colors: {
  custom: {
    50: '#818aec',
    500: '#255de2',
    950: '#000000',
  },
}
SCSS
$custom: #255de2;
$custom-light: #818aec;
$custom-dark: #000000;
JSON
{
  "hex": "#255de2",
  "rgb": {
    "r": 37,
    "g": 93,
    "b": 226
  },
  "hsl": {
    "h": 222.222,
    "s": 76.518,
    "l": 51.569
  },
  "oklch": {
    "l": 0.52711,
    "c": 0.21083,
    "h": 263.5
  },
  "luminance": 0.13713
}

Semantic roles & 50–950 ramp

primary
#255DE2
secondary
#DBC288
accent
#BB35F3
background
#F8F8FE
surface
#F0F0FD
border
#CBCBD5
text
#0D0B16
muted
#7D7C84

Preview Lab

Preview with #255DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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