#4155BF#4155BF

#4155BF is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.5% C 0.167 H 271.0°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#4155BF
RGBrgb(65, 85, 191)
HSLhsl(230, 50%, 50%)
HSVhsv(230, 66%, 75%)
CMYKcmyk(66%, 55.5%, 0%, 25.1%)
CIE-LABlab(40.22, 26.87, -58.09)
CIE-LCHlch(40.22, 64.00, 294.82°)
OKLaboklab(49.49% 0.0028 -0.167)
OKLCHoklch(49.49% 0.167 271)
XYZxyz(14.8293, 11.3811, 50.6954)
Luminance0.1138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4155BF #BFAB41
analogous
#4194BF #4155BF #6C41BF
triadic
#4155BF #BF4155 #55BF41
tetradic
#4155BF #BF4194 #BFAB41 #41BF6C
square
#4155BF #BF4194 #BFAB41 #41BF6C
split-complementary
#4155BF #BF6C41 #94BF41
monochromatic
#222C64 #314092 #4155BF #6F7ECE #9DA7DE

Accessibility & contrast

On white

6.41
#4155BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#4155BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4155BF#FFFFFF#000000##FFFFFF
##4155BF1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#0059BD
Tritanopia (blue-blind)
#006E82
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4155bf;
/* rgb */ color: rgb(65, 85, 191);
/* oklch */ color: oklch(49.5% 0.167 271.0);
Tailwind
colors: {
  custom: {
    50: '#8384d3',
    500: '#4155bf',
    950: '#000000',
  },
}
SCSS
$custom: #4155bf;
$custom-light: #8384d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4155bf",
  "rgb": {
    "r": 65,
    "g": 85,
    "b": 191
  },
  "hsl": {
    "h": 230.476,
    "s": 49.606,
    "l": 50.196
  },
  "oklch": {
    "l": 0.4949,
    "c": 0.16706,
    "h": 271
  },
  "luminance": 0.11382
}

Semantic roles & 50–950 ramp

primary
#4155BF
secondary
#CAC192
accent
#C34FD9
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #4155BF

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

Preview Lab → · Contrast checker → · Palette generator →

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