#4155AA#4155AA

#4155AA is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.9% C 0.138 H 270.5°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#4155AA
RGBrgb(65, 85, 170)
HSLhsl(229, 45%, 46%)
HSVhsv(229, 62%, 67%)
CMYKcmyk(61.8%, 50%, 0%, 33.3%)
CIE-LABlab(38.76, 19.45, -48.08)
CIE-LCHlch(38.76, 51.87, 292.02°)
OKLaboklab(47.93% 0.0012 -0.1376)
OKLCHoklch(47.93% 0.138 270.5)
XYZxyz(12.6817, 10.5220, 39.3851)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4155AA #AA9641
analogous
#4189AA #4155AA #6141AA
triadic
#4155AA #AA4155 #55AA41
tetradic
#4155AA #AA4189 #AA9641 #41AA61
square
#4155AA #AA4189 #AA9641 #41AA61
split-complementary
#4155AA #AA6141 #89AA41
monochromatic
#1F2951 #303F7E #4155AA #6477C4 #919ED5

Accessibility & contrast

On white

6.76
#4155AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#4155AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4155AA
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4155AA#FFFFFF#000000##FFFFFF
##4155AA1.006.763.106.76
#FFFFFF6.761.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2860AD
Deuteranopia (green-blind)
#1257A8
Tritanopia (blue-blind)
#006877
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4155aa;
/* rgb */ color: rgb(65, 85, 170);
/* oklch */ color: oklch(47.9% 0.138 270.5);
Tailwind
colors: {
  custom: {
    50: '#8084c4',
    500: '#4155aa',
    950: '#000000',
  },
}
SCSS
$custom: #4155aa;
$custom-light: #8084c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4155aa",
  "rgb": {
    "r": 65,
    "g": 85,
    "b": 170
  },
  "hsl": {
    "h": 228.571,
    "s": 44.681,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47933,
    "c": 0.1376,
    "h": 270.5
  },
  "luminance": 0.10523
}

Semantic roles & 50–950 ramp

primary
#4155AA
secondary
#C0B587
accent
#BC53D4
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #4155AA

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

Preview Lab → · Contrast checker → · Palette generator →

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