#4A7BDA#4A7BDA

#4A7BDA is a mid, vivid blue. Relative luminance 0.207; OKLCH L 59.6% C 0.155 H 262.2°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#4A7BDA
RGBrgb(74, 123, 218)
HSLhsl(220, 66%, 57%)
HSVhsv(220, 66%, 85%)
CMYKcmyk(66.1%, 43.6%, 0%, 14.5%)
CIE-LABlab(52.60, 13.88, -53.61)
CIE-LCHlch(52.60, 55.38, 284.52°)
OKLaboklab(59.59% -0.021 -0.1531)
OKLCHoklch(59.59% 0.155 262.2)
XYZxyz(22.5574, 20.6815, 69.1192)
Luminance0.2068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7BDA #DAA94A
analogous
#4AC3DA #4A7BDA #614ADA
triadic
#4A7BDA #DA4A7B #7BDA4A
tetradic
#4A7BDA #DA4AC3 #DAA94A #4ADA61
square
#4A7BDA #DA4AC3 #DAA94A #4ADA61
split-complementary
#4A7BDA #DA614A #C3DA4A
monochromatic
#1D438D #275BC0 #4A7BDA #7DA0E4 #B0C5EF

Accessibility & contrast

On white

4.09
#4A7BDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#4A7BDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7BDA
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7BDA#FFFFFF#000000##000000
##4A7BDA1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E85DE
Deuteranopia (green-blind)
#3577D8
Tritanopia (blue-blind)
#0091A0
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4a7bda;
/* rgb */ color: rgb(74, 123, 218);
/* oklch */ color: oklch(59.6% 0.155 262.2);
Tailwind
colors: {
  custom: {
    50: '#8ba0e6',
    500: '#4a7bda',
    950: '#000000',
  },
}
SCSS
$custom: #4a7bda;
$custom-light: #8ba0e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7bda",
  "rgb": {
    "r": 74,
    "g": 123,
    "b": 218
  },
  "hsl": {
    "h": 219.583,
    "s": 66.055,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5959,
    "c": 0.15458,
    "h": 262.2
  },
  "luminance": 0.20684
}

Semantic roles & 50–950 ramp

primary
#4A7BDA
secondary
#DDC9A3
accent
#AF3FE9
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4A7BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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