#4155AB#4155AB

#4155AB is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.0% C 0.139 H 270.5°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#4155AB
RGBrgb(65, 85, 171)
HSLhsl(229, 45%, 46%)
HSVhsv(229, 62%, 67%)
CMYKcmyk(62%, 50.3%, 0%, 32.9%)
CIE-LABlab(38.83, 19.80, -48.57)
CIE-LCHlch(38.83, 52.45, 292.18°)
OKLaboklab(48% 0.0013 -0.139)
OKLCHoklch(48% 0.139 270.5)
XYZxyz(12.7767, 10.5600, 39.8852)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4155AB #AB9741
analogous
#418AAB #4155AB #6241AB
triadic
#4155AB #AB4155 #55AB41
tetradic
#4155AB #AB418A #AB9741 #41AB62
square
#4155AB #AB418A #AB9741 #41AB62
split-complementary
#4155AB #AB6241 #8AAB41
monochromatic
#1F2952 #303F7F #4155AB #6577C4 #919ED5

Accessibility & contrast

On white

6.75
#4155AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#4155AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4155AB#FFFFFF#000000##FFFFFF
##4155AB1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2760AE
Deuteranopia (green-blind)
#0F57A9
Tritanopia (blue-blind)
#006978
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4155ab;
/* rgb */ color: rgb(65, 85, 171);
/* oklch */ color: oklch(48.0% 0.139 270.5);
Tailwind
colors: {
  custom: {
    50: '#8084c4',
    500: '#4155ab',
    950: '#000000',
  },
}
SCSS
$custom: #4155ab;
$custom-light: #8084c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4155ab",
  "rgb": {
    "r": 65,
    "g": 85,
    "b": 171
  },
  "hsl": {
    "h": 228.679,
    "s": 44.915,
    "l": 46.275
  },
  "oklch": {
    "l": 0.48004,
    "c": 0.13904,
    "h": 270.5
  },
  "luminance": 0.10561
}

Semantic roles & 50–950 ramp

primary
#4155AB
secondary
#C1B687
accent
#BC53D5
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #4155AB

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

Preview Lab → · Contrast checker → · Palette generator →

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