#4155CC#4155CC

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

Color values

HEX#4155CC
RGBrgb(65, 85, 204)
HSLhsl(231, 58%, 53%)
HSVhsv(231, 68%, 80%)
CMYKcmyk(68.1%, 58.3%, 0%, 20%)
CIE-LABlab(41.18, 31.45, -64.06)
CIE-LCHlch(41.18, 71.37, 296.15°)
OKLaboklab(50.52% 0.0032 -0.1846)
OKLCHoklch(50.52% 0.185 271)
XYZxyz(16.3239, 11.9789, 58.5669)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4155CC #CCB841
analogous
#419ACC #4155CC #7341CC
triadic
#4155CC #CC4155 #55CC41
tetradic
#4155CC #CC419A #CCB841 #41CC73
square
#4155CC #CC419A #CCB841 #41CC73
split-complementary
#4155CC #CC7341 #9ACC41
monochromatic
#1F2B74 #2C3DA4 #4155CC #7180D9 #A1ABE6

Accessibility & contrast

On white

6.18
#4155CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#4155CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4155CC
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4155CC#FFFFFF#000000##FFFFFF
##4155CC1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D0
Deuteranopia (green-blind)
#005BCA
Tritanopia (blue-blind)
#007288
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4155cc;
/* rgb */ color: rgb(65, 85, 204);
/* oklch */ color: oklch(50.5% 0.185 271.0);
Tailwind
colors: {
  custom: {
    50: '#8684dc',
    500: '#4155cc',
    950: '#000000',
  },
}
SCSS
$custom: #4155cc;
$custom-light: #8684dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4155cc",
  "rgb": {
    "r": 65,
    "g": 85,
    "b": 204
  },
  "hsl": {
    "h": 231.367,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.50517,
    "c": 0.18463,
    "h": 271
  },
  "luminance": 0.1198
}

Semantic roles & 50–950 ramp

primary
#4155CC
secondary
#D3CA96
accent
#CB47E1
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0D0B15
muted
#7D7C83

Preview Lab

Preview with #4155CC

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

Preview Lab → · Contrast checker → · Palette generator →

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