#4155D2#4155D2

#4155D2 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.0% C 0.193 H 270.9°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#4155D2
RGBrgb(65, 85, 210)
HSLhsl(232, 62%, 54%)
HSVhsv(232, 69%, 82%)
CMYKcmyk(69%, 59.5%, 0%, 17.6%)
CIE-LABlab(41.65, 33.56, -66.76)
CIE-LCHlch(41.65, 74.72, 296.69°)
OKLaboklab(51.01% 0.0032 -0.1925)
OKLCHoklch(51.01% 0.193 270.9)
XYZxyz(17.0574, 12.2723, 62.4301)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4155D2 #D2BE41
analogous
#419ED2 #4155D2 #7641D2
triadic
#4155D2 #D24155 #55D241
tetradic
#4155D2 #D2419E #D2BE41 #41D276
square
#4155D2 #D2419E #D2BE41 #41D276
split-complementary
#4155D2 #D27641 #9ED241
monochromatic
#1D2A7B #293BAD #4155D2 #7281DE #A4AEE9

Accessibility & contrast

On white

6.08
#4155D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#4155D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4155D2
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4155D2#FFFFFF#000000##FFFFFF
##4155D21.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D6
Deuteranopia (green-blind)
#005CD0
Tritanopia (blue-blind)
#00748B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4155d2;
/* rgb */ color: rgb(65, 85, 210);
/* oklch */ color: oklch(51.0% 0.193 270.9);
Tailwind
colors: {
  custom: {
    50: '#8784e1',
    500: '#4155d2',
    950: '#000000',
  },
}
SCSS
$custom: #4155d2;
$custom-light: #8784e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4155d2",
  "rgb": {
    "r": 65,
    "g": 85,
    "b": 210
  },
  "hsl": {
    "h": 231.724,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51006,
    "c": 0.19257,
    "h": 270.9
  },
  "luminance": 0.12274
}

Semantic roles & 50–950 ramp

primary
#4155D2
secondary
#D6CE98
accent
#CE43E5
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4155D2

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

Preview Lab → · Contrast checker → · Palette generator →

#4155D2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva