#255FE2#255FE2

#255FE2 is a mid, highly saturated blue. Relative luminance 0.141; OKLCH L 53.1% C 0.208 H 263.1°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#255FE2
RGBrgb(37, 95, 226)
HSLhsl(222, 77%, 52%)
HSVhsv(222, 84%, 89%)
CMYKcmyk(83.6%, 58%, 0%, 11.4%)
CIE-LABlab(44.33, 30.14, -71.57)
CIE-LCHlch(44.33, 77.65, 292.84°)
OKLaboklab(53.1% -0.0249 -0.207)
OKLCHoklch(53.1% 0.208 263.1)
XYZxyz(18.5777, 14.0664, 73.6727)
Luminance0.1407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255FE2 #E2A825
analogous
#25BEE2 #255FE2 #4A25E2
triadic
#255FE2 #E2255F #5FE225
tetradic
#255FE2 #E225BE #E2A825 #25E24A
square
#255FE2 #E225BE #E2A825 #25E24A
split-complementary
#255FE2 #E24A25 #BEE225
monochromatic
#11327C #1847B2 #255FE2 #5B87E9 #91AEF0

Accessibility & contrast

On white

5.51
#255FE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#255FE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #255FE2
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255FE2#FFFFFF#000000##FFFFFF
##255FE21.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #255fe2;
/* rgb */ color: rgb(37, 95, 226);
/* oklch */ color: oklch(53.1% 0.208 263.1);
Tailwind
colors: {
  custom: {
    50: '#818bec',
    500: '#255fe2',
    950: '#000000',
  },
}
SCSS
$custom: #255fe2;
$custom-light: #818bec;
$custom-dark: #000000;
JSON
{
  "hex": "#255fe2",
  "rgb": {
    "r": 37,
    "g": 95,
    "b": 226
  },
  "hsl": {
    "h": 221.587,
    "s": 76.518,
    "l": 51.569
  },
  "oklch": {
    "l": 0.53096,
    "c": 0.20849,
    "h": 263.1
  },
  "luminance": 0.14069
}

Semantic roles & 50–950 ramp

primary
#255FE2
secondary
#DBC188
accent
#B935F3
background
#F8F8FE
surface
#F0F0FD
border
#CBCBD5
text
#0C0C16
muted
#7D7D84

Preview Lab

Preview with #255FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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