#4838BE#4838BE

#4838BE is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.9% C 0.199 H 280.1°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#4838BE
RGBrgb(72, 56, 190)
HSLhsl(247, 54%, 48%)
HSVhsv(247, 71%, 75%)
CMYKcmyk(62.1%, 70.5%, 0%, 25.5%)
CIE-LABlab(33.82, 45.34, -67.92)
CIE-LCHlch(33.82, 81.66, 303.73°)
OKLaboklab(44.9% 0.035 -0.1958)
OKLCHoklch(44.9% 0.199 280.1)
XYZxyz(13.3780, 7.9228, 49.5295)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4838BE #AEBE38
analogous
#386BBE #4838BE #8B38BE
triadic
#4838BE #BE4838 #38BE48
tetradic
#4838BE #BE386B #AEBE38 #38BE8B
square
#4838BE #BE386B #AEBE38 #38BE8B
split-complementary
#4838BE #BE8B38 #6BBE38
monochromatic
#241C5F #362A8F #4838BE #7062D1 #9B92DF

Accessibility & contrast

On white

8.12
#4838BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#4838BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4838BE
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4838BE#FFFFFF#000000##FFFFFF
##4838BE1.008.122.588.12
#FFFFFF8.121.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C2
Deuteranopia (green-blind)
#004ABB
Tritanopia (blue-blind)
#005C77
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4838be;
/* rgb */ color: rgb(72, 56, 190);
/* oklch */ color: oklch(44.9% 0.199 280.1);
Tailwind
colors: {
  custom: {
    50: '#8970d3',
    500: '#4838be',
    950: '#000000',
  },
}
SCSS
$custom: #4838be;
$custom-light: #8970d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4838be",
  "rgb": {
    "r": 72,
    "g": 56,
    "b": 190
  },
  "hsl": {
    "h": 247.164,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.449,
    "c": 0.19896,
    "h": 280.1
  },
  "luminance": 0.07924
}

Semantic roles & 50–950 ramp

primary
#4838BE
secondary
#C2CA88
accent
#DE4ACC
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4838BE

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

Preview Lab → · Contrast checker → · Palette generator →

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