#4A6CDA#4A6CDA

#4A6CDA is a mid, vivid blue. Relative luminance 0.172; OKLCH L 56.5% C 0.173 H 267.7°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#4A6CDA
RGBrgb(74, 108, 218)
HSLhsl(226, 66%, 57%)
HSVhsv(226, 66%, 85%)
CMYKcmyk(66.1%, 50.5%, 0%, 14.5%)
CIE-LABlab(48.56, 23.20, -60.10)
CIE-LCHlch(48.56, 64.42, 291.11°)
OKLaboklab(56.5% -0.007 -0.1724)
OKLCHoklch(56.5% 0.173 267.7)
XYZxyz(20.8371, 17.2410, 68.5458)
Luminance0.1724 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6CDA #DAB84A
analogous
#4AB4DA #4A6CDA #704ADA
triadic
#4A6CDA #DA4A6C #6CDA4A
tetradic
#4A6CDA #DA4AB4 #DAB84A #4ADA70
square
#4A6CDA #DA4AB4 #DAB84A #4ADA70
split-complementary
#4A6CDA #DA704A #B4DA4A
monochromatic
#1D378D #274BC0 #4A6CDA #7D95E4 #B0BFEF

Accessibility & contrast

On white

4.72
#4A6CDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#4A6CDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A6CDA
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A6CDA#FFFFFF#000000##FFFFFF
##4A6CDA1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B7ADE
Deuteranopia (green-blind)
#006DD8
Tritanopia (blue-blind)
#008699
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4a6cda;
/* rgb */ color: rgb(74, 108, 218);
/* oklch */ color: oklch(56.5% 0.173 267.7);
Tailwind
colors: {
  custom: {
    50: '#8b95e6',
    500: '#4a6cda',
    950: '#000000',
  },
}
SCSS
$custom: #4a6cda;
$custom-light: #8b95e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6cda",
  "rgb": {
    "r": 74,
    "g": 108,
    "b": 218
  },
  "hsl": {
    "h": 225.833,
    "s": 66.055,
    "l": 57.255
  },
  "oklch": {
    "l": 0.56503,
    "c": 0.17258,
    "h": 267.7
  },
  "luminance": 0.17243
}

Semantic roles & 50–950 ramp

primary
#4A6CDA
secondary
#DDCFA3
accent
#C13FE9
background
#F9F9FE
surface
#F1F1FC
border
#CBCBD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4A6CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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