#4A6ABC#4A6ABC

#4A6ABC is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.1% C 0.134 H 266.0°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#4A6ABC
RGBrgb(74, 106, 188)
HSLhsl(223, 46%, 51%)
HSVhsv(223, 61%, 74%)
CMYKcmyk(60.6%, 43.6%, 0%, 26.3%)
CIE-LABlab(46.17, 14.03, -46.74)
CIE-LCHlch(46.17, 48.80, 286.71°)
OKLaboklab(54.08% -0.0092 -0.1332)
OKLCHoklch(54.08% 0.134 266)
XYZxyz(17.0521, 15.3933, 49.6398)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6ABC #BC9C4A
analogous
#4AA3BC #4A6ABC #634ABC
triadic
#4A6ABC #BC4A6A #6ABC4A
tetradic
#4A6ABC #BC4AA3 #BC9C4A #4ABC63
square
#4A6ABC #BC4AA3 #BC9C4A #4ABC63
split-complementary
#4A6ABC #BC634A #A3BC4A
monochromatic
#263866 #365093 #4A6ABC #778FCD #A3B4DD

Accessibility & contrast

On white

5.15
#4A6ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#4A6ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A6ABC
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A6ABC#FFFFFF#000000##FFFFFF
##4A6ABC1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4573BF
Deuteranopia (green-blind)
#3469BA
Tritanopia (blue-blind)
#007C8A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4a6abc;
/* rgb */ color: rgb(74, 106, 188);
/* oklch */ color: oklch(54.1% 0.134 266.0);
Tailwind
colors: {
  custom: {
    50: '#8694d1',
    500: '#4a6abc',
    950: '#000000',
  },
}
SCSS
$custom: #4a6abc;
$custom-light: #8694d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6abc",
  "rgb": {
    "r": 74,
    "g": 106,
    "b": 188
  },
  "hsl": {
    "h": 223.158,
    "s": 45.968,
    "l": 51.373
  },
  "oklch": {
    "l": 0.5408,
    "c": 0.13352,
    "h": 266
  },
  "luminance": 0.15395
}

Semantic roles & 50–950 ramp

primary
#4A6ABC
secondary
#CABC98
accent
#B152D6
background
#F8F9FC
surface
#F0F1F9
border
#CBCBD2
text
#0C0D14
muted
#7D7E82

Preview Lab

Preview with #4A6ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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