#155CF2#155CF2

#155CF2 is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 53.6% C 0.235 H 262.6°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#155CF2
RGBrgb(21, 92, 242)
HSLhsl(221, 89%, 52%)
HSVhsv(221, 91%, 95%)
CMYKcmyk(91.3%, 62%, 0%, 5.1%)
CIE-LABlab(44.55, 37.19, -80.24)
CIE-LCHlch(44.55, 88.44, 294.86°)
OKLaboklab(53.57% -0.0302 -0.2326)
OKLCHoklch(53.57% 0.235 262.6)
XYZxyz(20.1577, 14.2218, 85.6698)
Luminance0.1422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155CF2 #F2AB15
analogous
#15CBF2 #155CF2 #3D15F2
triadic
#155CF2 #F2155C #5CF215
tetradic
#155CF2 #F215CB #F2AB15 #15F23D
square
#155CF2 #F215CB #F2AB15 #15F23D
split-complementary
#155CF2 #F23D15 #CBF215
monochromatic
#073085 #0B45BF #155CF2 #4F84F5 #89ADF8

Accessibility & contrast

On white

5.46
#155CF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#155CF2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #155CF2
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155CF2#FFFFFF#000000##FFFFFF
##155CF21.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F7
Deuteranopia (green-blind)
#0060EF
Tritanopia (blue-blind)
#00849E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #155cf2;
/* rgb */ color: rgb(21, 92, 242);
/* oklch */ color: oklch(53.6% 0.235 262.6);
Tailwind
colors: {
  custom: {
    50: '#8289f8',
    500: '#155cf2',
    950: '#000000',
  },
}
SCSS
$custom: #155cf2;
$custom-light: #8289f8;
$custom-dark: #000000;
JSON
{
  "hex": "#155cf2",
  "rgb": {
    "r": 21,
    "g": 92,
    "b": 242
  },
  "hsl": {
    "h": 220.724,
    "s": 89.474,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5357,
    "c": 0.23456,
    "h": 262.6
  },
  "luminance": 0.14225
}

Semantic roles & 50–950 ramp

primary
#155CF2
secondary
#E2C381
accent
#BA29FF
background
#F9F8FF
surface
#F1F0FF
border
#CBCBD7
text
#0D0B17
muted
#7E7C85

Preview Lab

Preview with #155CF2

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

Preview Lab → · Contrast checker → · Palette generator →

#155CF2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva