#4838B8#4838B8

#4838B8 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 44.3% C 0.192 H 280.8°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#4838B8
RGBrgb(72, 56, 184)
HSLhsl(248, 53%, 47%)
HSVhsv(248, 70%, 72%)
CMYKcmyk(60.9%, 69.6%, 0%, 27.8%)
CIE-LABlab(33.28, 43.46, -65.27)
CIE-LCHlch(33.28, 78.41, 303.66°)
OKLaboklab(44.34% 0.0361 -0.1881)
OKLCHoklch(44.34% 0.192 280.8)
XYZxyz(12.7357, 7.6658, 46.1466)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4838B8 #A8B838
analogous
#3868B8 #4838B8 #8838B8
triadic
#4838B8 #B84838 #38B848
tetradic
#4838B8 #B83868 #A8B838 #38B888
square
#4838B8 #B83868 #A8B838 #38B888
split-complementary
#4838B8 #B88838 #68B838
monochromatic
#231B5A #362A89 #4838B8 #6D5FCE #988EDD

Accessibility & contrast

On white

8.29
#4838B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4838B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4838B8
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4838B8#FFFFFF#000000##FFFFFF
##4838B81.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BC
Deuteranopia (green-blind)
#0049B6
Tritanopia (blue-blind)
#005A74
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4838b8;
/* rgb */ color: rgb(72, 56, 184);
/* oklch */ color: oklch(44.3% 0.192 280.8);
Tailwind
colors: {
  custom: {
    50: '#8870ce',
    500: '#4838b8',
    950: '#000000',
  },
}
SCSS
$custom: #4838b8;
$custom-light: #8870ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4838b8",
  "rgb": {
    "r": 72,
    "g": 56,
    "b": 184
  },
  "hsl": {
    "h": 247.5,
    "s": 53.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.44344,
    "c": 0.19153,
    "h": 280.8
  },
  "luminance": 0.07667
}

Semantic roles & 50–950 ramp

primary
#4838B8
secondary
#BFC785
accent
#DD4BCB
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0D0714
muted
#7D7A82

Preview Lab

Preview with #4838B8

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

Preview Lab → · Contrast checker → · Palette generator →

#4838B8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva