#4155BE#4155BE

#4155BE is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.4% C 0.166 H 271.0°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#4155BE
RGBrgb(65, 85, 190)
HSLhsl(230, 49%, 50%)
HSVhsv(230, 66%, 75%)
CMYKcmyk(65.8%, 55.3%, 0%, 25.5%)
CIE-LABlab(40.14, 26.51, -57.62)
CIE-LCHlch(40.14, 63.43, 294.71°)
OKLaboklab(49.41% 0.0028 -0.1657)
OKLCHoklch(49.41% 0.166 271)
XYZxyz(14.7196, 11.3372, 50.1178)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4155BE #BEAA41
analogous
#4194BE #4155BE #6B41BE
triadic
#4155BE #BE4155 #55BE41
tetradic
#4155BE #BE4194 #BEAA41 #41BE6B
square
#4155BE #BE4194 #BEAA41 #41BE6B
split-complementary
#4155BE #BE6B41 #94BE41
monochromatic
#222C63 #314190 #4155BE #6F7ECE #9CA7DD

Accessibility & contrast

On white

6.43
#4155BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#4155BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4155BE#FFFFFF#000000##FFFFFF
##4155BE1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C2
Deuteranopia (green-blind)
#0059BC
Tritanopia (blue-blind)
#006E81
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4155be;
/* rgb */ color: rgb(65, 85, 190);
/* oklch */ color: oklch(49.4% 0.166 271.0);
Tailwind
colors: {
  custom: {
    50: '#8384d2',
    500: '#4155be',
    950: '#000000',
  },
}
SCSS
$custom: #4155be;
$custom-light: #8384d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4155be",
  "rgb": {
    "r": 65,
    "g": 85,
    "b": 190
  },
  "hsl": {
    "h": 230.4,
    "s": 49.02,
    "l": 50
  },
  "oklch": {
    "l": 0.49413,
    "c": 0.16569,
    "h": 271
  },
  "luminance": 0.11339
}

Semantic roles & 50–950 ramp

primary
#4155BE
secondary
#C9C091
accent
#C34FD9
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #4155BE

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

Preview Lab → · Contrast checker → · Palette generator →

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