#4155CB#4155CB

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

Color values

HEX#4155CB
RGBrgb(65, 85, 203)
HSLhsl(231, 57%, 53%)
HSVhsv(231, 68%, 80%)
CMYKcmyk(68%, 58.1%, 0%, 20.4%)
CIE-LABlab(41.11, 31.10, -63.61)
CIE-LCHlch(41.11, 70.80, 296.05°)
OKLaboklab(50.44% 0.0032 -0.1833)
OKLCHoklch(50.44% 0.183 271)
XYZxyz(16.2043, 11.9311, 57.9373)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4155CB #CBB741
analogous
#419ACB #4155CB #7241CB
triadic
#4155CB #CB4155 #55CB41
tetradic
#4155CB #CB419A #CBB741 #41CB72
square
#4155CB #CB419A #CBB741 #41CB72
split-complementary
#4155CB #CB7241 #9ACB41
monochromatic
#1F2B72 #2C3EA2 #4155CB #7180D8 #A1ABE5

Accessibility & contrast

On white

6.20
#4155CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#4155CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4155CB
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4155CB#FFFFFF#000000##FFFFFF
##4155CB1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#005BC9
Tritanopia (blue-blind)
#007288
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4155cb;
/* rgb */ color: rgb(65, 85, 203);
/* oklch */ color: oklch(50.4% 0.183 271.0);
Tailwind
colors: {
  custom: {
    50: '#8684dc',
    500: '#4155cb',
    950: '#000000',
  },
}
SCSS
$custom: #4155cb;
$custom-light: #8684dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4155cb",
  "rgb": {
    "r": 65,
    "g": 85,
    "b": 203
  },
  "hsl": {
    "h": 231.304,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.50436,
    "c": 0.1833,
    "h": 271
  },
  "luminance": 0.11933
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4155CB

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

Preview Lab → · Contrast checker → · Palette generator →

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