#4B79CB#4B79CB

#4B79CB is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.3% C 0.136 H 261.1°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#4B79CB
RGBrgb(75, 121, 203)
HSLhsl(218, 55%, 55%)
HSVhsv(218, 63%, 80%)
CMYKcmyk(63.1%, 40.4%, 0%, 20.4%)
CIE-LABlab(51.24, 10.08, -47.27)
CIE-LCHlch(51.24, 48.33, 282.03°)
OKLaboklab(58.28% -0.021 -0.1345)
OKLCHoklch(58.28% 0.136 261.1)
XYZxyz(20.5147, 19.4805, 59.1673)
Luminance0.1948 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B79CB #CB9D4B
analogous
#4BB9CB #4B79CB #5D4BCB
triadic
#4B79CB #CB4B79 #79CB4B
tetradic
#4B79CB #CB4BB9 #CB9D4B #4BCB5D
square
#4B79CB #CB4BB9 #CB9D4B #4BCB5D
split-complementary
#4B79CB #CB5D4B #B9CB4B
monochromatic
#234279 #315CA8 #4B79CB #7A9CD9 #AAC0E6

Accessibility & contrast

On white

4.29
#4B79CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#4B79CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B79CB
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B79CB#FFFFFF#000000##000000
##4B79CB1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5480CE
Deuteranopia (green-blind)
#4275C9
Tritanopia (blue-blind)
#008C98
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4b79cb;
/* rgb */ color: rgb(75, 121, 203);
/* oklch */ color: oklch(58.3% 0.136 261.1);
Tailwind
colors: {
  custom: {
    50: '#899fdb',
    500: '#4b79cb',
    950: '#000000',
  },
}
SCSS
$custom: #4b79cb;
$custom-light: #899fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4b79cb",
  "rgb": {
    "r": 75,
    "g": 121,
    "b": 203
  },
  "hsl": {
    "h": 218.438,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.58282,
    "c": 0.13617,
    "h": 261.1
  },
  "luminance": 0.19482
}

Semantic roles & 50–950 ramp

primary
#4B79CB
secondary
#D4C19E
accent
#A949DF
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0E15
muted
#7D7E83

Preview Lab

Preview with #4B79CB

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

Preview Lab → · Contrast checker → · Palette generator →

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