#4155BC#4155BC

#4155BC is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.3% C 0.163 H 270.9°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#4155BC
RGBrgb(65, 85, 188)
HSLhsl(230, 49%, 50%)
HSVhsv(230, 65%, 74%)
CMYKcmyk(65.4%, 54.8%, 0%, 26.3%)
CIE-LABlab(40.00, 25.81, -56.69)
CIE-LCHlch(40.00, 62.29, 294.48°)
OKLaboklab(49.26% 0.0027 -0.1629)
OKLCHoklch(49.26% 0.163 270.9)
XYZxyz(14.5025, 11.2504, 48.9745)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4155BC #BCA841
analogous
#4193BC #4155BC #6B41BC
triadic
#4155BC #BC4155 #55BC41
tetradic
#4155BC #BC4193 #BCA841 #41BC6B
square
#4155BC #BC4193 #BCA841 #41BC6B
split-complementary
#4155BC #BC6B41 #93BC41
monochromatic
#222C61 #31408F #4155BC #6E7DCD #9BA6DC

Accessibility & contrast

On white

6.46
#4155BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#4155BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4155BC
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4155BC#FFFFFF#000000##FFFFFF
##4155BC1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0264C0
Deuteranopia (green-blind)
#0059BA
Tritanopia (blue-blind)
#006E80
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4155bc;
/* rgb */ color: rgb(65, 85, 188);
/* oklch */ color: oklch(49.3% 0.163 270.9);
Tailwind
colors: {
  custom: {
    50: '#8384d1',
    500: '#4155bc',
    950: '#000000',
  },
}
SCSS
$custom: #4155bc;
$custom-light: #8384d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4155bc",
  "rgb": {
    "r": 65,
    "g": 85,
    "b": 188
  },
  "hsl": {
    "h": 230.244,
    "s": 48.617,
    "l": 49.608
  },
  "oklch": {
    "l": 0.49259,
    "c": 0.16294,
    "h": 270.9
  },
  "luminance": 0.11252
}

Semantic roles & 50–950 ramp

primary
#4155BC
secondary
#C9BF90
accent
#C250D8
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #4155BC

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

Preview Lab → · Contrast checker → · Palette generator →

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