#4D68CB#4D68CB

#4D68CB is a mid, vivid blue. Relative luminance 0.158; OKLCH L 54.8% C 0.156 H 269.2°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#4D68CB
RGBrgb(77, 104, 203)
HSLhsl(227, 55%, 55%)
HSVhsv(227, 62%, 80%)
CMYKcmyk(62.1%, 48.8%, 0%, 20.4%)
CIE-LABlab(46.70, 21.01, -54.54)
CIE-LCHlch(46.70, 58.45, 291.07°)
OKLaboklab(54.82% -0.002 -0.1561)
OKLCHoklch(54.82% 0.156 269.2)
XYZxyz(18.7867, 15.7886, 58.5458)
Luminance0.1579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D68CB #CBB04D
analogous
#4DA7CB #4D68CB #714DCB
triadic
#4D68CB #CB4D68 #68CB4D
tetradic
#4D68CB #CB4DA7 #CBB04D #4DCB71
square
#4D68CB #CB4DA7 #CBB04D #4DCB71
split-complementary
#4D68CB #CB714D #A7CB4D
monochromatic
#24367A #314BA9 #4D68CB #7C90D9 #ACB8E7

Accessibility & contrast

On white

5.05
#4D68CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#4D68CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D68CB
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D68CB#FFFFFF#000000##FFFFFF
##4D68CB1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3475CF
Deuteranopia (green-blind)
#1A69C9
Tritanopia (blue-blind)
#007F90
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4d68cb;
/* rgb */ color: rgb(77, 104, 203);
/* oklch */ color: oklch(54.8% 0.156 269.2);
Tailwind
colors: {
  custom: {
    50: '#8a92db',
    500: '#4d68cb',
    950: '#000000',
  },
}
SCSS
$custom: #4d68cb;
$custom-light: #8a92db;
$custom-dark: #000000;
JSON
{
  "hex": "#4d68cb",
  "rgb": {
    "r": 77,
    "g": 104,
    "b": 203
  },
  "hsl": {
    "h": 227.143,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.5482,
    "c": 0.15608,
    "h": 269.2
  },
  "luminance": 0.1579
}

Semantic roles & 50–950 ramp

primary
#4D68CB
secondary
#D4C99F
accent
#BE4ADE
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0D15
muted
#7E7D83

Preview Lab

Preview with #4D68CB

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

Preview Lab → · Contrast checker → · Palette generator →

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