#4154BF#4154BF

#4154BF is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.3% C 0.168 H 271.3°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#4154BF
RGBrgb(65, 84, 191)
HSLhsl(231, 50%, 50%)
HSVhsv(231, 66%, 75%)
CMYKcmyk(66%, 56%, 0%, 25.1%)
CIE-LABlab(39.96, 27.51, -58.51)
CIE-LCHlch(39.96, 64.65, 295.18°)
OKLaboklab(49.3% 0.0037 -0.1683)
OKLCHoklch(49.3% 0.168 271.3)
XYZxyz(14.7511, 11.2247, 50.6693)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4154BF #BFAC41
analogous
#4193BF #4154BF #6D41BF
triadic
#4154BF #BF4154 #54BF41
tetradic
#4154BF #BF4193 #BFAC41 #41BF6D
square
#4154BF #BF4193 #BFAC41 #41BF6D
split-complementary
#4154BF #BF6D41 #93BF41
monochromatic
#222C64 #314092 #4154BF #6F7DCE #9DA6DE

Accessibility & contrast

On white

6.47
#4154BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#4154BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4154BF
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4154BF#FFFFFF#000000##FFFFFF
##4154BF1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#0059BD
Tritanopia (blue-blind)
#006E81
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4154bf;
/* rgb */ color: rgb(65, 84, 191);
/* oklch */ color: oklch(49.3% 0.168 271.3);
Tailwind
colors: {
  custom: {
    50: '#8483d3',
    500: '#4154bf',
    950: '#000000',
  },
}
SCSS
$custom: #4154bf;
$custom-light: #8483d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4154bf",
  "rgb": {
    "r": 65,
    "g": 84,
    "b": 191
  },
  "hsl": {
    "h": 230.952,
    "s": 49.606,
    "l": 50.196
  },
  "oklch": {
    "l": 0.49296,
    "c": 0.16832,
    "h": 271.3
  },
  "luminance": 0.11226
}

Semantic roles & 50–950 ramp

primary
#4154BF
secondary
#CAC292
accent
#C44FD9
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #4154BF

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

Preview Lab → · Contrast checker → · Palette generator →

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