#4A62CA#4A62CA

#4A62CA is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.4% C 0.163 H 270.2°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#4A62CA
RGBrgb(74, 98, 202)
HSLhsl(229, 55%, 54%)
HSVhsv(229, 63%, 79%)
CMYKcmyk(63.4%, 51.5%, 0%, 20.8%)
CIE-LABlab(44.88, 23.92, -56.90)
CIE-LCHlch(44.88, 61.72, 292.81°)
OKLaboklab(53.38% 0.0007 -0.1632)
OKLCHoklch(53.38% 0.163 270.2)
XYZxyz(17.8488, 14.4539, 57.7149)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A62CA #CAB24A
analogous
#4AA2CA #4A62CA #724ACA
triadic
#4A62CA #CA4A62 #62CA4A
tetradic
#4A62CA #CA4AA2 #CAB24A #4ACA72
square
#4A62CA #CA4AA2 #CAB24A #4ACA72
split-complementary
#4A62CA #CA724A #A2CA4A
monochromatic
#233377 #3147A6 #4A62CA #798BD8 #A9B4E6

Accessibility & contrast

On white

5.40
#4A62CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#4A62CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A62CA
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A62CA#FFFFFF#000000##FFFFFF
##4A62CA1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2470CE
Deuteranopia (green-blind)
#0065C8
Tritanopia (blue-blind)
#007A8C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4a62ca;
/* rgb */ color: rgb(74, 98, 202);
/* oklch */ color: oklch(53.4% 0.163 270.2);
Tailwind
colors: {
  custom: {
    50: '#898edb',
    500: '#4a62ca',
    950: '#000000',
  },
}
SCSS
$custom: #4a62ca;
$custom-light: #898edb;
$custom-dark: #000000;
JSON
{
  "hex": "#4a62ca",
  "rgb": {
    "r": 74,
    "g": 98,
    "b": 202
  },
  "hsl": {
    "h": 228.75,
    "s": 54.701,
    "l": 54.118
  },
  "oklch": {
    "l": 0.53376,
    "c": 0.16317,
    "h": 270.2
  },
  "luminance": 0.14455
}

Semantic roles & 50–950 ramp

primary
#4A62CA
secondary
#D3C99D
accent
#C24ADE
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4A62CA

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

Preview Lab → · Contrast checker → · Palette generator →

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