#4B56BA#4B56BA

#4B56BA is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.9% C 0.156 H 274.5°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#4B56BA
RGBrgb(75, 86, 186)
HSLhsl(234, 45%, 51%)
HSVhsv(234, 60%, 73%)
CMYKcmyk(59.7%, 53.8%, 0%, 27.1%)
CIE-LABlab(40.73, 26.22, -54.31)
CIE-LCHlch(40.73, 60.31, 295.77°)
OKLaboklab(49.92% 0.0124 -0.1557)
OKLCHoklch(49.92% 0.156 274.5)
XYZxyz(15.0895, 11.6954, 47.9071)
Luminance0.1170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B56BA #BAAF4B
analogous
#4B8DBA #4B56BA #774BBA
triadic
#4B56BA #BA4B56 #56BA4B
tetradic
#4B56BA #BA4B8D #BAAF4B #4BBA77
square
#4B56BA #BA4B8D #BAAF4B #4BBA77
split-complementary
#4B56BA #BA774B #8DBA4B
monochromatic
#262D64 #374090 #4B56BA #7780CB #A3A9DC

Accessibility & contrast

On white

6.29
#4B56BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#4B56BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B56BA
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B56BA#FFFFFF#000000##FFFFFF
##4B56BA1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1665BD
Deuteranopia (green-blind)
#005BB8
Tritanopia (blue-blind)
#006D7F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4b56ba;
/* rgb */ color: rgb(75, 86, 186);
/* oklch */ color: oklch(49.9% 0.156 274.5);
Tailwind
colors: {
  custom: {
    50: '#8785cf',
    500: '#4b56ba',
    950: '#000000',
  },
}
SCSS
$custom: #4b56ba;
$custom-light: #8785cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4b56ba",
  "rgb": {
    "r": 75,
    "g": 86,
    "b": 186
  },
  "hsl": {
    "h": 234.054,
    "s": 44.578,
    "l": 51.176
  },
  "oklch": {
    "l": 0.49923,
    "c": 0.15615,
    "h": 274.5
  },
  "luminance": 0.11697
}

Semantic roles & 50–950 ramp

primary
#4B56BA
secondary
#C9C498
accent
#C854D4
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4B56BA

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

Preview Lab → · Contrast checker → · Palette generator →

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