#4A38BE#4A38BE

#4A38BE is a mid, vivid blue. Relative luminance 0.080; OKLCH L 45.1% C 0.199 H 281.0°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#4A38BE
RGBrgb(74, 56, 190)
HSLhsl(248, 54%, 48%)
HSVhsv(248, 71%, 75%)
CMYKcmyk(61.1%, 70.5%, 0%, 25.5%)
CIE-LABlab(33.98, 45.62, -67.64)
CIE-LCHlch(33.98, 81.59, 303.99°)
OKLaboklab(45.06% 0.0377 -0.195)
OKLCHoklch(45.06% 0.199 281)
XYZxyz(13.5296, 8.0009, 49.5366)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A38BE #ACBE38
analogous
#3869BE #4A38BE #8D38BE
triadic
#4A38BE #BE4A38 #38BE4A
tetradic
#4A38BE #BE3869 #ACBE38 #38BE8D
square
#4A38BE #BE3869 #ACBE38 #38BE8D
split-complementary
#4A38BE #BE8D38 #69BE38
monochromatic
#251C5F #382A8F #4A38BE #7162D1 #9C92DF

Accessibility & contrast

On white

8.08
#4A38BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#4A38BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A38BE
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A38BE#FFFFFF#000000##FFFFFF
##4A38BE1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a38be;
/* rgb */ color: rgb(74, 56, 190);
/* oklch */ color: oklch(45.1% 0.199 281.0);
Tailwind
colors: {
  custom: {
    50: '#8a71d3',
    500: '#4a38be',
    950: '#000000',
  },
}
SCSS
$custom: #4a38be;
$custom-light: #8a71d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a38be",
  "rgb": {
    "r": 74,
    "g": 56,
    "b": 190
  },
  "hsl": {
    "h": 248.06,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.45058,
    "c": 0.19861,
    "h": 281
  },
  "luminance": 0.08002
}

Semantic roles & 50–950 ramp

primary
#4A38BE
secondary
#C1CA88
accent
#DE4ACA
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4A38BE

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

Preview Lab → · Contrast checker → · Palette generator →

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