#4154CF#4154CF

#4154CF is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.6% C 0.190 H 271.2°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#4154CF
RGBrgb(65, 84, 207)
HSLhsl(232, 60%, 53%)
HSVhsv(232, 69%, 81%)
CMYKcmyk(68.6%, 59.4%, 0%, 18.8%)
CIE-LABlab(41.17, 33.14, -65.82)
CIE-LCHlch(41.17, 73.69, 296.72°)
OKLaboklab(50.58% 0.004 -0.1898)
OKLCHoklch(50.58% 0.19 271.2)
XYZxyz(16.6090, 11.9679, 60.4541)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4154CF #CFBC41
analogous
#419BCF #4154CF #7541CF
triadic
#4154CF #CF4154 #54CF41
tetradic
#4154CF #CF419B #CFBC41 #41CF75
square
#4154CF #CF419B #CFBC41 #41CF75
split-complementary
#4154CF #CF7541 #9BCF41
monochromatic
#1E2A77 #2B3BA8 #4154CF #7280DB #A3ACE8

Accessibility & contrast

On white

6.19
#4154CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#4154CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4154CF
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4154CF#FFFFFF#000000##FFFFFF
##4154CF1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D3
Deuteranopia (green-blind)
#005BCD
Tritanopia (blue-blind)
#007389
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4154cf;
/* rgb */ color: rgb(65, 84, 207);
/* oklch */ color: oklch(50.6% 0.190 271.2);
Tailwind
colors: {
  custom: {
    50: '#8784df',
    500: '#4154cf',
    950: '#000000',
  },
}
SCSS
$custom: #4154cf;
$custom-light: #8784df;
$custom-dark: #000000;
JSON
{
  "hex": "#4154cf",
  "rgb": {
    "r": 65,
    "g": 84,
    "b": 207
  },
  "hsl": {
    "h": 231.972,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.50576,
    "c": 0.18982,
    "h": 271.2
  },
  "luminance": 0.11969
}

Semantic roles & 50–950 ramp

primary
#4154CF
secondary
#D4CC97
accent
#CE45E3
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4154CF

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

Preview Lab → · Contrast checker → · Palette generator →

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