#4155BA#4155BA

#4155BA is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.1% C 0.160 H 270.9°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#4155BA
RGBrgb(65, 85, 186)
HSLhsl(230, 48%, 49%)
HSVhsv(230, 65%, 73%)
CMYKcmyk(65.1%, 54.3%, 0%, 27.1%)
CIE-LABlab(39.86, 25.10, -55.75)
CIE-LCHlch(39.86, 61.14, 294.24°)
OKLaboklab(49.11% 0.0026 -0.1601)
OKLCHoklch(49.11% 0.16 270.9)
XYZxyz(14.2884, 11.1647, 47.8469)
Luminance0.1117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4155BA #BAA641
analogous
#4192BA #4155BA #6A41BA
triadic
#4155BA #BA4155 #55BA41
tetradic
#4155BA #BA4192 #BAA641 #41BA6A
square
#4155BA #BA4192 #BAA641 #41BA6A
split-complementary
#4155BA #BA6A41 #92BA41
monochromatic
#212C5F #31408D #4155BA #6C7CCC #9AA5DC

Accessibility & contrast

On white

6.50
#4155BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#4155BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4155BA#FFFFFF#000000##FFFFFF
##4155BA1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A64BE
Deuteranopia (green-blind)
#0059B8
Tritanopia (blue-blind)
#006D7F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4155ba;
/* rgb */ color: rgb(65, 85, 186);
/* oklch */ color: oklch(49.1% 0.160 270.9);
Tailwind
colors: {
  custom: {
    50: '#8384cf',
    500: '#4155ba',
    950: '#000000',
  },
}
SCSS
$custom: #4155ba;
$custom-light: #8384cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4155ba",
  "rgb": {
    "r": 65,
    "g": 85,
    "b": 186
  },
  "hsl": {
    "h": 230.083,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.49107,
    "c": 0.16017,
    "h": 270.9
  },
  "luminance": 0.11166
}

Semantic roles & 50–950 ramp

primary
#4155BA
secondary
#C8BE8F
accent
#C150D8
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #4155BA

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

Preview Lab → · Contrast checker → · Palette generator →

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