#4B4EAF#4B4EAF

#4B4EAF is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.6% C 0.151 H 277.6°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#4B4EAF
RGBrgb(75, 78, 175)
HSLhsl(238, 40%, 49%)
HSVhsv(238, 57%, 69%)
CMYKcmyk(57.1%, 55.4%, 0%, 31.4%)
CIE-LABlab(37.91, 27.60, -52.38)
CIE-LCHlch(37.91, 59.21, 297.78°)
OKLaboklab(47.57% 0.0201 -0.1501)
OKLCHoklch(47.57% 0.151 277.6)
XYZxyz(13.3614, 10.0389, 41.7827)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B4EAF #AFAC4B
analogous
#4B80AF #4B4EAF #7A4BAF
triadic
#4B4EAF #AF4B4E #4EAF4B
tetradic
#4B4EAF #AF4B80 #AFAC4B #4BAF7A
square
#4B4EAF #AF4B80 #AFAC4B #4BAF7A
split-complementary
#4B4EAF #AF7A4B #80AF4B
monochromatic
#262859 #393B84 #4B4EAF #7476C3 #9FA0D6

Accessibility & contrast

On white

6.98
#4B4EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#4B4EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B4EAF
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B4EAF#FFFFFF#000000##FFFFFF
##4B4EAF1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A5DB2
Deuteranopia (green-blind)
#0055AD
Tritanopia (blue-blind)
#126477
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4b4eaf;
/* rgb */ color: rgb(75, 78, 175);
/* oklch */ color: oklch(47.6% 0.151 277.6);
Tailwind
colors: {
  custom: {
    50: '#867fc8',
    500: '#4b4eaf',
    950: '#000000',
  },
}
SCSS
$custom: #4b4eaf;
$custom-light: #867fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#4b4eaf",
  "rgb": {
    "r": 75,
    "g": 78,
    "b": 175
  },
  "hsl": {
    "h": 238.2,
    "s": 40,
    "l": 49.02
  },
  "oklch": {
    "l": 0.47572,
    "c": 0.15142,
    "h": 277.6
  },
  "luminance": 0.1004
}

Semantic roles & 50–950 ramp

primary
#4B4EAF
secondary
#C2C193
accent
#CC58D0
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4B4EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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