#4B5EBA#4B5EBA

#4B5EBA is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.5% C 0.146 H 271.6°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#4B5EBA
RGBrgb(75, 94, 186)
HSLhsl(230, 45%, 51%)
HSVhsv(230, 60%, 73%)
CMYKcmyk(59.7%, 49.5%, 0%, 27.1%)
CIE-LABlab(42.83, 21.13, -50.92)
CIE-LCHlch(42.83, 55.13, 292.54°)
OKLaboklab(51.51% 0.0041 -0.1456)
OKLCHoklch(51.51% 0.146 271.6)
XYZxyz(15.7643, 13.0452, 48.1321)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B5EBA #BAA74B
analogous
#4B95BA #4B5EBA #6F4BBA
triadic
#4B5EBA #BA4B5E #5EBA4B
tetradic
#4B5EBA #BA4B95 #BAA74B #4BBA6F
square
#4B5EBA #BA4B95 #BAA74B #4BBA6F
split-complementary
#4B5EBA #BA6F4B #95BA4B
monochromatic
#263164 #374790 #4B5EBA #7786CB #A3ADDC

Accessibility & contrast

On white

5.82
#4B5EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#4B5EBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B5EBA
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B5EBA#FFFFFF#000000##FFFFFF
##4B5EBA1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6ABD
Deuteranopia (green-blind)
#1A61B8
Tritanopia (blue-blind)
#007383
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4b5eba;
/* rgb */ color: rgb(75, 94, 186);
/* oklch */ color: oklch(51.5% 0.146 271.6);
Tailwind
colors: {
  custom: {
    50: '#878bcf',
    500: '#4b5eba',
    950: '#000000',
  },
}
SCSS
$custom: #4b5eba;
$custom-light: #878bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#4b5eba",
  "rgb": {
    "r": 75,
    "g": 94,
    "b": 186
  },
  "hsl": {
    "h": 229.73,
    "s": 44.578,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51509,
    "c": 0.14566,
    "h": 271.6
  },
  "luminance": 0.13046
}

Semantic roles & 50–950 ramp

primary
#4B5EBA
secondary
#C9C198
accent
#BE54D4
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82

Preview Lab

Preview with #4B5EBA

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

Preview Lab → · Contrast checker → · Palette generator →

#4B5EBA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva