#4155D4#4155D4

#4155D4 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.2% C 0.195 H 270.9°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#4155D4
RGBrgb(65, 85, 212)
HSLhsl(232, 63%, 54%)
HSVhsv(232, 69%, 83%)
CMYKcmyk(69.3%, 59.9%, 0%, 16.9%)
CIE-LABlab(41.80, 34.26, -67.66)
CIE-LCHlch(41.80, 75.84, 296.85°)
OKLaboklab(51.17% 0.0032 -0.1952)
OKLCHoklch(51.17% 0.195 270.9)
XYZxyz(17.3081, 12.3726, 63.7506)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4155D4 #D4C041
analogous
#419ED4 #4155D4 #7741D4
triadic
#4155D4 #D44155 #55D441
tetradic
#4155D4 #D4419E #D4C041 #41D477
square
#4155D4 #D4419E #D4C041 #41D477
split-complementary
#4155D4 #D47741 #9ED441
monochromatic
#1D2A7E #283AB0 #4155D4 #7382DF #A5AEEB

Accessibility & contrast

On white

6.04
#4155D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#4155D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4155D4
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4155D4#FFFFFF#000000##FFFFFF
##4155D41.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD8
Deuteranopia (green-blind)
#005CD2
Tritanopia (blue-blind)
#00758C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4155d4;
/* rgb */ color: rgb(65, 85, 212);
/* oklch */ color: oklch(51.2% 0.195 270.9);
Tailwind
colors: {
  custom: {
    50: '#8884e2',
    500: '#4155d4',
    950: '#000000',
  },
}
SCSS
$custom: #4155d4;
$custom-light: #8884e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4155d4",
  "rgb": {
    "r": 65,
    "g": 85,
    "b": 212
  },
  "hsl": {
    "h": 231.837,
    "s": 63.09,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51171,
    "c": 0.19519,
    "h": 270.9
  },
  "luminance": 0.12374
}

Semantic roles & 50–950 ramp

primary
#4155D4
secondary
#D8CF99
accent
#D042E6
background
#F9F8FE
surface
#F1EFFC
border
#CBCAD5
text
#0D0B15
muted
#7E7C84

Preview Lab

Preview with #4155D4

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

Preview Lab → · Contrast checker → · Palette generator →

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