#4154AC#4154AC

#4154AC is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.9% C 0.142 H 271.0°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#4154AC
RGBrgb(65, 84, 172)
HSLhsl(229, 45%, 46%)
HSVhsv(229, 62%, 67%)
CMYKcmyk(62.2%, 51.2%, 0%, 32.5%)
CIE-LABlab(38.62, 20.80, -49.49)
CIE-LCHlch(38.62, 53.68, 292.79°)
OKLaboklab(47.87% 0.0024 -0.1417)
OKLCHoklch(47.87% 0.142 271)
XYZxyz(12.7942, 10.4420, 40.3630)
Luminance0.1044 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4154AC #AC9941
analogous
#418AAC #4154AC #6441AC
triadic
#4154AC #AC4154 #54AC41
tetradic
#4154AC #AC418A #AC9941 #41AC64
square
#4154AC #AC418A #AC9941 #41AC64
split-complementary
#4154AC #AC6441 #8AAC41
monochromatic
#1F2953 #303E80 #4154AC #6576C5 #929ED6

Accessibility & contrast

On white

6.80
#4154AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#4154AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4154AC
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4154AC#FFFFFF#000000##FFFFFF
##4154AC1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2360AF
Deuteranopia (green-blind)
#0656AA
Tritanopia (blue-blind)
#006878
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4154ac;
/* rgb */ color: rgb(65, 84, 172);
/* oklch */ color: oklch(47.9% 0.142 271.0);
Tailwind
colors: {
  custom: {
    50: '#8083c5',
    500: '#4154ac',
    950: '#000000',
  },
}
SCSS
$custom: #4154ac;
$custom-light: #8083c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4154ac",
  "rgb": {
    "r": 65,
    "g": 84,
    "b": 172
  },
  "hsl": {
    "h": 229.346,
    "s": 45.148,
    "l": 46.471
  },
  "oklch": {
    "l": 0.4787,
    "c": 0.14177,
    "h": 271
  },
  "luminance": 0.10443
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4154AC

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

Preview Lab → · Contrast checker → · Palette generator →

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