#4154AE#4154AE

#4154AE is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.0% C 0.145 H 271.0°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#4154AE
RGBrgb(65, 84, 174)
HSLhsl(230, 46%, 47%)
HSVhsv(230, 63%, 68%)
CMYKcmyk(62.6%, 51.7%, 0%, 31.8%)
CIE-LABlab(38.76, 21.50, -50.46)
CIE-LCHlch(38.76, 54.85, 293.08°)
OKLaboklab(48.02% 0.0026 -0.1446)
OKLCHoklch(48.02% 0.145 271)
XYZxyz(12.9877, 10.5194, 41.3822)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4154AE #AE9B41
analogous
#418BAE #4154AE #6441AE
triadic
#4154AE #AE4154 #54AE41
tetradic
#4154AE #AE418B #AE9B41 #41AE64
square
#4154AE #AE418B #AE9B41 #41AE64
split-complementary
#4154AE #AE6441 #8BAE41
monochromatic
#202955 #303E81 #4154AE #6677C6 #939FD7

Accessibility & contrast

On white

6.77
#4154AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#4154AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4154AE
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4154AE#FFFFFF#000000##FFFFFF
##4154AE1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2060B1
Deuteranopia (green-blind)
#0057AC
Tritanopia (blue-blind)
#006979
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4154ae;
/* rgb */ color: rgb(65, 84, 174);
/* oklch */ color: oklch(48.0% 0.145 271.0);
Tailwind
colors: {
  custom: {
    50: '#8083c7',
    500: '#4154ae',
    950: '#000000',
  },
}
SCSS
$custom: #4154ae;
$custom-light: #8083c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4154ae",
  "rgb": {
    "r": 65,
    "g": 84,
    "b": 174
  },
  "hsl": {
    "h": 229.541,
    "s": 45.607,
    "l": 46.863
  },
  "oklch": {
    "l": 0.48015,
    "c": 0.14462,
    "h": 271
  },
  "luminance": 0.1052
}

Semantic roles & 50–950 ramp

primary
#4154AE
secondary
#C2B889
accent
#BE53D5
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #4154AE

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

Preview Lab → · Contrast checker → · Palette generator →

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