#4155CD#4155CD

#4155CD is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.6% C 0.186 H 271.0°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#4155CD
RGBrgb(65, 85, 205)
HSLhsl(231, 58%, 53%)
HSVhsv(231, 68%, 80%)
CMYKcmyk(68.3%, 58.5%, 0%, 19.6%)
CIE-LABlab(41.26, 31.80, -64.51)
CIE-LCHlch(41.26, 71.93, 296.24°)
OKLaboklab(50.6% 0.0032 -0.1859)
OKLCHoklch(50.6% 0.186 271)
XYZxyz(16.4442, 12.0270, 59.2006)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4155CD #CDB941
analogous
#419BCD #4155CD #7341CD
triadic
#4155CD #CD4155 #55CD41
tetradic
#4155CD #CD419B #CDB941 #41CD73
square
#4155CD #CD419B #CDB941 #41CD73
split-complementary
#4155CD #CD7341 #9BCD41
monochromatic
#1F2B75 #2C3DA5 #4155CD #7180DA #A2ACE6

Accessibility & contrast

On white

6.17
#4155CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#4155CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4155CD
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4155CD#FFFFFF#000000##FFFFFF
##4155CD1.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D1
Deuteranopia (green-blind)
#005BCB
Tritanopia (blue-blind)
#007389
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4155cd;
/* rgb */ color: rgb(65, 85, 205);
/* oklch */ color: oklch(50.6% 0.186 271.0);
Tailwind
colors: {
  custom: {
    50: '#8684dd',
    500: '#4155cd',
    950: '#000000',
  },
}
SCSS
$custom: #4155cd;
$custom-light: #8684dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4155cd",
  "rgb": {
    "r": 65,
    "g": 85,
    "b": 205
  },
  "hsl": {
    "h": 231.429,
    "s": 58.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.50598,
    "c": 0.18596,
    "h": 271
  },
  "luminance": 0.12029
}

Semantic roles & 50–950 ramp

primary
#4155CD
secondary
#D3CB97
accent
#CB46E2
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0D0B15
muted
#7D7C83

Preview Lab

Preview with #4155CD

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

Preview Lab → · Contrast checker → · Palette generator →

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