#4850AF#4850AF

#4850AF is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.7% C 0.149 H 275.6°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#4850AF
RGBrgb(72, 80, 175)
HSLhsl(235, 42%, 48%)
HSVhsv(235, 59%, 69%)
CMYKcmyk(58.9%, 54.3%, 0%, 31.4%)
CIE-LABlab(38.22, 25.74, -51.91)
CIE-LCHlch(38.22, 57.94, 296.38°)
OKLaboklab(47.75% 0.0145 -0.1487)
OKLCHoklch(47.75% 0.149 275.6)
XYZxyz(13.2765, 10.2092, 41.8201)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4850AF #AFA748
analogous
#4883AF #4850AF #7348AF
triadic
#4850AF #AF4850 #50AF48
tetradic
#4850AF #AF4883 #AFA748 #48AF73
square
#4850AF #AF4883 #AFA748 #48AF73
split-complementary
#4850AF #AF7348 #83AF48
monochromatic
#242858 #363C84 #4850AF #7077C4 #9BA0D6

Accessibility & contrast

On white

6.90
#4850AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#4850AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4850AF
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4850AF#FFFFFF#000000##FFFFFF
##4850AF1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#135EB2
Deuteranopia (green-blind)
#0056AD
Tritanopia (blue-blind)
#006677
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4850af;
/* rgb */ color: rgb(72, 80, 175);
/* oklch */ color: oklch(47.7% 0.149 275.6);
Tailwind
colors: {
  custom: {
    50: '#8481c7',
    500: '#4850af',
    950: '#000000',
  },
}
SCSS
$custom: #4850af;
$custom-light: #8481c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4850af",
  "rgb": {
    "r": 72,
    "g": 80,
    "b": 175
  },
  "hsl": {
    "h": 235.34,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.47745,
    "c": 0.14943,
    "h": 275.6
  },
  "luminance": 0.1021
}

Semantic roles & 50–950 ramp

primary
#4850AF
secondary
#C2BF90
accent
#C856D2
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4850AF

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

Preview Lab → · Contrast checker → · Palette generator →

#4850AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva