#4154AA#4154AA

#4154AA is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.7% C 0.139 H 270.9°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#4154AA
RGBrgb(65, 84, 170)
HSLhsl(229, 45%, 46%)
HSVhsv(229, 62%, 67%)
CMYKcmyk(61.8%, 50.6%, 0%, 33.3%)
CIE-LABlab(38.49, 20.10, -48.52)
CIE-LCHlch(38.49, 52.52, 292.50°)
OKLaboklab(47.73% 0.0022 -0.1389)
OKLCHoklch(47.73% 0.139 270.9)
XYZxyz(12.6036, 10.3657, 39.3590)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4154AA #AA9741
analogous
#4188AA #4154AA #6241AA
triadic
#4154AA #AA4154 #54AA41
tetradic
#4154AA #AA4188 #AA9741 #41AA62
square
#4154AA #AA4188 #AA9741 #41AA62
split-complementary
#4154AA #AA6241 #88AA41
monochromatic
#1F2851 #303E7E #4154AA #6476C4 #919DD5

Accessibility & contrast

On white

6.83
#4154AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#4154AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4154AA#FFFFFF#000000##FFFFFF
##4154AA1.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265FAD
Deuteranopia (green-blind)
#0D56A8
Tritanopia (blue-blind)
#006877
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4154aa;
/* rgb */ color: rgb(65, 84, 170);
/* oklch */ color: oklch(47.7% 0.139 270.9);
Tailwind
colors: {
  custom: {
    50: '#8083c4',
    500: '#4154aa',
    950: '#000000',
  },
}
SCSS
$custom: #4154aa;
$custom-light: #8083c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4154aa",
  "rgb": {
    "r": 65,
    "g": 84,
    "b": 170
  },
  "hsl": {
    "h": 229.143,
    "s": 44.681,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47727,
    "c": 0.13892,
    "h": 270.9
  },
  "luminance": 0.10367
}

Semantic roles & 50–950 ramp

primary
#4154AA
secondary
#C0B687
accent
#BD53D4
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #4154AA

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

Preview Lab → · Contrast checker → · Palette generator →

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