#4A5FBB#4A5FBB

#4A5FBB is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.7% C 0.146 H 270.8°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#4A5FBB
RGBrgb(74, 95, 187)
HSLhsl(229, 45%, 51%)
HSVhsv(229, 60%, 73%)
CMYKcmyk(60.4%, 49.2%, 0%, 26.7%)
CIE-LABlab(43.10, 20.65, -51.07)
CIE-LCHlch(43.10, 55.09, 292.01°)
OKLaboklab(51.72% 0.0022 -0.1461)
OKLCHoklch(51.72% 0.146 270.8)
XYZxyz(15.8829, 13.2268, 48.7201)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5FBB #BBA64A
analogous
#4A97BB #4A5FBB #6D4ABB
triadic
#4A5FBB #BB4A5F #5FBB4A
tetradic
#4A5FBB #BB4A97 #BBA64A #4ABB6D
square
#4A5FBB #BB4A97 #BBA64A #4ABB6D
split-complementary
#4A5FBB #BB6D4A #97BB4A
monochromatic
#263265 #374791 #4A5FBB #7686CC #A3AEDC

Accessibility & contrast

On white

5.76
#4A5FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#4A5FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A5FBB
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5FBB#FFFFFF#000000##FFFFFF
##4A5FBB1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306BBE
Deuteranopia (green-blind)
#1A61B9
Tritanopia (blue-blind)
#007484
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4a5fbb;
/* rgb */ color: rgb(74, 95, 187);
/* oklch */ color: oklch(51.7% 0.146 270.8);
Tailwind
colors: {
  custom: {
    50: '#878cd0',
    500: '#4a5fbb',
    950: '#000000',
  },
}
SCSS
$custom: #4a5fbb;
$custom-light: #878cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5fbb",
  "rgb": {
    "r": 74,
    "g": 95,
    "b": 187
  },
  "hsl": {
    "h": 228.85,
    "s": 45.382,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5172,
    "c": 0.14607,
    "h": 270.8
  },
  "luminance": 0.13228
}

Semantic roles & 50–950 ramp

primary
#4A5FBB
secondary
#C9C097
accent
#BD53D5
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82

Preview Lab

Preview with #4A5FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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