#4155CA#4155CA

#4155CA is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.4% C 0.182 H 271.0°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#4155CA
RGBrgb(65, 85, 202)
HSLhsl(231, 56%, 52%)
HSVhsv(231, 68%, 79%)
CMYKcmyk(67.8%, 57.9%, 0%, 20.8%)
CIE-LABlab(41.03, 30.75, -63.15)
CIE-LCHlch(41.03, 70.24, 295.96°)
OKLaboklab(50.36% 0.0031 -0.1819)
OKLCHoklch(50.36% 0.182 271)
XYZxyz(16.0855, 11.8836, 57.3117)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4155CA #CAB641
analogous
#4199CA #4155CA #7241CA
triadic
#4155CA #CA4155 #55CA41
tetradic
#4155CA #CA4199 #CAB641 #41CA72
square
#4155CA #CA4199 #CAB641 #41CA72
split-complementary
#4155CA #CA7241 #99CA41
monochromatic
#202B71 #2D3EA1 #4155CA #7180D7 #A1ABE5

Accessibility & contrast

On white

6.22
#4155CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#4155CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4155CA
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4155CA#FFFFFF#000000##FFFFFF
##4155CA1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#005BC8
Tritanopia (blue-blind)
#007287
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4155ca;
/* rgb */ color: rgb(65, 85, 202);
/* oklch */ color: oklch(50.4% 0.182 271.0);
Tailwind
colors: {
  custom: {
    50: '#8684db',
    500: '#4155ca',
    950: '#000000',
  },
}
SCSS
$custom: #4155ca;
$custom-light: #8684db;
$custom-dark: #000000;
JSON
{
  "hex": "#4155ca",
  "rgb": {
    "r": 65,
    "g": 85,
    "b": 202
  },
  "hsl": {
    "h": 231.241,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.50356,
    "c": 0.18196,
    "h": 271
  },
  "luminance": 0.11885
}

Semantic roles & 50–950 ramp

primary
#4155CA
secondary
#D1C996
accent
#CA48E0
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #4155CA

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

Preview Lab → · Contrast checker → · Palette generator →

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