#4155B2#4155B2

#4155B2 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.5% C 0.149 H 270.8°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#4155B2
RGBrgb(65, 85, 178)
HSLhsl(229, 47%, 48%)
HSVhsv(229, 63%, 70%)
CMYKcmyk(63.5%, 52.2%, 0%, 30.2%)
CIE-LABlab(39.30, 22.27, -51.95)
CIE-LCHlch(39.30, 56.52, 293.20°)
OKLaboklab(48.51% 0.002 -0.149)
OKLCHoklch(48.51% 0.149 270.8)
XYZxyz(13.4617, 10.8340, 43.4926)
Luminance0.1084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4155B2 #B29E41
analogous
#418DB2 #4155B2 #6641B2
triadic
#4155B2 #B24155 #55B241
tetradic
#4155B2 #B2418D #B29E41 #41B266
square
#4155B2 #B2418D #B29E41 #41B266
split-complementary
#4155B2 #B26641 #8DB241
monochromatic
#202A58 #314085 #4155B2 #6879C8 #95A1D8

Accessibility & contrast

On white

6.63
#4155B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#4155B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4155B2
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4155B2#FFFFFF#000000##FFFFFF
##4155B21.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D62B5
Deuteranopia (green-blind)
#0058B0
Tritanopia (blue-blind)
#006B7B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4155b2;
/* rgb */ color: rgb(65, 85, 178);
/* oklch */ color: oklch(48.5% 0.149 270.8);
Tailwind
colors: {
  custom: {
    50: '#8184ca',
    500: '#4155b2',
    950: '#000000',
  },
}
SCSS
$custom: #4155b2;
$custom-light: #8184ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4155b2",
  "rgb": {
    "r": 65,
    "g": 85,
    "b": 178
  },
  "hsl": {
    "h": 229.381,
    "s": 46.502,
    "l": 47.647
  },
  "oklch": {
    "l": 0.4851,
    "c": 0.14898,
    "h": 270.8
  },
  "luminance": 0.10835
}

Semantic roles & 50–950 ramp

primary
#4155B2
secondary
#C4BA8B
accent
#BF52D6
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #4155B2

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

Preview Lab → · Contrast checker → · Palette generator →

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