#155DF2#155DF2

#155DF2 is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 53.8% C 0.233 H 262.5°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#155DF2
RGBrgb(21, 93, 242)
HSLhsl(220, 89%, 52%)
HSVhsv(220, 91%, 95%)
CMYKcmyk(91.3%, 61.6%, 0%, 5.1%)
CIE-LABlab(44.80, 36.55, -79.84)
CIE-LCHlch(44.80, 87.81, 294.60°)
OKLaboklab(53.75% -0.0306 -0.2314)
OKLCHoklch(53.75% 0.233 262.5)
XYZxyz(20.2449, 14.3962, 85.6989)
Luminance0.1440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155DF2 #F2AA15
analogous
#15CCF2 #155DF2 #3B15F2
triadic
#155DF2 #F2155D #5DF215
tetradic
#155DF2 #F215CC #F2AA15 #15F23B
square
#155DF2 #F215CC #F2AA15 #15F23B
split-complementary
#155DF2 #F23B15 #CCF215
monochromatic
#073085 #0B45BF #155DF2 #4F85F5 #89ADF8

Accessibility & contrast

On white

5.41
#155DF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#155DF2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #155DF2
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155DF2#FFFFFF#000000##FFFFFF
##155DF21.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F7
Deuteranopia (green-blind)
#0060EF
Tritanopia (blue-blind)
#00849F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #155df2;
/* rgb */ color: rgb(21, 93, 242);
/* oklch */ color: oklch(53.8% 0.233 262.5);
Tailwind
colors: {
  custom: {
    50: '#828af8',
    500: '#155df2',
    950: '#000000',
  },
}
SCSS
$custom: #155df2;
$custom-light: #828af8;
$custom-dark: #000000;
JSON
{
  "hex": "#155df2",
  "rgb": {
    "r": 21,
    "g": 93,
    "b": 242
  },
  "hsl": {
    "h": 220.452,
    "s": 89.474,
    "l": 51.569
  },
  "oklch": {
    "l": 0.53754,
    "c": 0.23342,
    "h": 262.5
  },
  "luminance": 0.14399
}

Semantic roles & 50–950 ramp

primary
#155DF2
secondary
#E2C281
accent
#B929FF
background
#F9F8FF
surface
#F1F0FF
border
#CBCBD7
text
#0D0B17
muted
#7E7C85

Preview Lab

Preview with #155DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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