#4150CF#4150CF

#4150CF is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.9% C 0.195 H 272.1°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#4150CF
RGBrgb(65, 80, 207)
HSLhsl(234, 60%, 53%)
HSVhsv(234, 69%, 81%)
CMYKcmyk(68.6%, 61.4%, 0%, 18.8%)
CIE-LABlab(40.19, 35.64, -67.41)
CIE-LCHlch(40.19, 76.26, 297.87°)
OKLaboklab(49.85% 0.007 -0.1945)
OKLCHoklch(49.85% 0.195 272.1)
XYZxyz(16.3073, 11.3646, 60.3536)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4150CF #CFC041
analogous
#4197CF #4150CF #7941CF
triadic
#4150CF #CF4150 #50CF41
tetradic
#4150CF #CF4197 #CFC041 #41CF79
square
#4150CF #CF4197 #CFC041 #41CF79
split-complementary
#4150CF #CF7941 #97CF41
monochromatic
#1E2877 #2B38A8 #4150CF #727DDB #A3AAE8

Accessibility & contrast

On white

6.42
#4150CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#4150CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4150CF
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4150CF#FFFFFF#000000##FFFFFF
##4150CF1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D3
Deuteranopia (green-blind)
#0058CD
Tritanopia (blue-blind)
#007088
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4150cf;
/* rgb */ color: rgb(65, 80, 207);
/* oklch */ color: oklch(49.9% 0.195 272.1);
Tailwind
colors: {
  custom: {
    50: '#8781df',
    500: '#4150cf',
    950: '#000000',
  },
}
SCSS
$custom: #4150cf;
$custom-light: #8781df;
$custom-dark: #000000;
JSON
{
  "hex": "#4150cf",
  "rgb": {
    "r": 65,
    "g": 80,
    "b": 207
  },
  "hsl": {
    "h": 233.662,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.49853,
    "c": 0.19462,
    "h": 272.1
  },
  "luminance": 0.11366
}

Semantic roles & 50–950 ramp

primary
#4150CF
secondary
#D4CE97
accent
#D245E3
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4150CF

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

Preview Lab → · Contrast checker → · Palette generator →

#4150CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva