#4155AC#4155AC

#4155AC is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.1% C 0.140 H 270.6°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#4155AC
RGBrgb(65, 85, 172)
HSLhsl(229, 45%, 46%)
HSVhsv(229, 62%, 67%)
CMYKcmyk(62.2%, 50.6%, 0%, 32.5%)
CIE-LABlab(38.90, 20.15, -49.06)
CIE-LCHlch(38.90, 53.03, 292.33°)
OKLaboklab(48.08% 0.0014 -0.1405)
OKLCHoklch(48.08% 0.14 270.6)
XYZxyz(12.8724, 10.5983, 40.3891)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4155AC #AC9841
analogous
#418BAC #4155AC #6341AC
triadic
#4155AC #AC4155 #55AC41
tetradic
#4155AC #AC418B #AC9841 #41AC63
square
#4155AC #AC418B #AC9841 #41AC63
split-complementary
#4155AC #AC6341 #8BAC41
monochromatic
#1F2953 #303F80 #4155AC #6577C5 #929ED6

Accessibility & contrast

On white

6.73
#4155AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#4155AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4155AC#FFFFFF#000000##FFFFFF
##4155AC1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2661AF
Deuteranopia (green-blind)
#0C57AA
Tritanopia (blue-blind)
#006978
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4155ac;
/* rgb */ color: rgb(65, 85, 172);
/* oklch */ color: oklch(48.1% 0.140 270.6);
Tailwind
colors: {
  custom: {
    50: '#8084c5',
    500: '#4155ac',
    950: '#000000',
  },
}
SCSS
$custom: #4155ac;
$custom-light: #8084c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4155ac",
  "rgb": {
    "r": 65,
    "g": 85,
    "b": 172
  },
  "hsl": {
    "h": 228.785,
    "s": 45.148,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48075,
    "c": 0.14047,
    "h": 270.6
  },
  "luminance": 0.10599
}

Semantic roles & 50–950 ramp

primary
#4155AC
secondary
#C1B688
accent
#BD53D5
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #4155AC

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

Preview Lab → · Contrast checker → · Palette generator →

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