#4150CB#4150CB

#4150CB is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.5% C 0.189 H 272.2°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#4150CB
RGBrgb(65, 80, 203)
HSLhsl(233, 57%, 53%)
HSVhsv(233, 68%, 80%)
CMYKcmyk(68%, 60.6%, 0%, 20.4%)
CIE-LABlab(39.87, 34.26, -65.63)
CIE-LCHlch(39.87, 74.03, 297.56°)
OKLaboklab(49.52% 0.0071 -0.1892)
OKLCHoklch(49.52% 0.189 272.2)
XYZxyz(15.8245, 11.1714, 57.8107)
Luminance0.1117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4150CB #CBBC41
analogous
#4195CB #4150CB #7741CB
triadic
#4150CB #CB4150 #50CB41
tetradic
#4150CB #CB4195 #CBBC41 #41CB77
square
#4150CB #CB4195 #CBBC41 #41CB77
split-complementary
#4150CB #CB7741 #95CB41
monochromatic
#1F2872 #2C39A2 #4150CB #717CD8 #A1A9E5

Accessibility & contrast

On white

6.49
#4150CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#4150CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4150CB
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4150CB#FFFFFF#000000##FFFFFF
##4150CB1.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CF
Deuteranopia (green-blind)
#0058C9
Tritanopia (blue-blind)
#006F86
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4150cb;
/* rgb */ color: rgb(65, 80, 203);
/* oklch */ color: oklch(49.5% 0.189 272.2);
Tailwind
colors: {
  custom: {
    50: '#8681dc',
    500: '#4150cb',
    950: '#000000',
  },
}
SCSS
$custom: #4150cb;
$custom-light: #8681dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4150cb",
  "rgb": {
    "r": 65,
    "g": 80,
    "b": 203
  },
  "hsl": {
    "h": 233.478,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.49517,
    "c": 0.18937,
    "h": 272.2
  },
  "luminance": 0.11173
}

Semantic roles & 50–950 ramp

primary
#4150CB
secondary
#D2CB96
accent
#D048E0
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0D0A15
muted
#7D7C83

Preview Lab

Preview with #4150CB

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

Preview Lab → · Contrast checker → · Palette generator →

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