#4154BE#4154BE

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

Color values

HEX#4154BE
RGBrgb(65, 84, 190)
HSLhsl(231, 49%, 50%)
HSVhsv(231, 66%, 75%)
CMYKcmyk(65.8%, 55.8%, 0%, 25.5%)
CIE-LABlab(39.88, 27.15, -58.04)
CIE-LCHlch(39.88, 64.08, 295.07°)
OKLaboklab(49.22% 0.0037 -0.1669)
OKLCHoklch(49.22% 0.167 271.3)
XYZxyz(14.6414, 11.1808, 50.0917)
Luminance0.1118 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4154BE #BEAB41
analogous
#4193BE #4154BE #6C41BE
triadic
#4154BE #BE4154 #54BE41
tetradic
#4154BE #BE4193 #BEAB41 #41BE6C
square
#4154BE #BE4193 #BEAB41 #41BE6C
split-complementary
#4154BE #BE6C41 #93BE41
monochromatic
#222C63 #314090 #4154BE #6F7DCE #9CA6DD

Accessibility & contrast

On white

6.49
#4154BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#4154BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4154BE
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4154BE#FFFFFF#000000##FFFFFF
##4154BE1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C2
Deuteranopia (green-blind)
#0059BC
Tritanopia (blue-blind)
#006D81
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4154be;
/* rgb */ color: rgb(65, 84, 190);
/* oklch */ color: oklch(49.2% 0.167 271.3);
Tailwind
colors: {
  custom: {
    50: '#8383d2',
    500: '#4154be',
    950: '#000000',
  },
}
SCSS
$custom: #4154be;
$custom-light: #8383d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4154be",
  "rgb": {
    "r": 65,
    "g": 84,
    "b": 190
  },
  "hsl": {
    "h": 230.88,
    "s": 49.02,
    "l": 50
  },
  "oklch": {
    "l": 0.49218,
    "c": 0.16696,
    "h": 271.3
  },
  "luminance": 0.11182
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4154BE

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

Preview Lab → · Contrast checker → · Palette generator →

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