#4538CA#4538CA

#4538CA is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 45.8% C 0.214 H 277.7°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#4538CA
RGBrgb(69, 56, 202)
HSLhsl(245, 58%, 51%)
HSVhsv(245, 72%, 79%)
CMYKcmyk(65.8%, 72.3%, 0%, 20.8%)
CIE-LABlab(34.71, 48.72, -73.48)
CIE-LCHlch(34.71, 88.17, 303.55°)
OKLaboklab(45.82% 0.0288 -0.2122)
OKLCHoklch(45.82% 0.214 277.7)
XYZxyz(14.5256, 8.3566, 56.7132)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4538CA #BDCA38
analogous
#3874CA #4538CA #8E38CA
triadic
#4538CA #CA4538 #38CA45
tetradic
#4538CA #CA3874 #BDCA38 #38CA8E
square
#4538CA #CA3874 #BDCA38 #38CA8E
split-complementary
#4538CA #CA8E38 #74CA38
monochromatic
#241D6B #34299B #4538CA #7268D7 #9F99E4

Accessibility & contrast

On white

7.86
#4538CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#4538CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4538CA
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4538CA#FFFFFF#000000##FFFFFF
##4538CA1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CE
Deuteranopia (green-blind)
#004BC7
Tritanopia (blue-blind)
#00617E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4538ca;
/* rgb */ color: rgb(69, 56, 202);
/* oklch */ color: oklch(45.8% 0.214 277.7);
Tailwind
colors: {
  custom: {
    50: '#8a71db',
    500: '#4538ca',
    950: '#000000',
  },
}
SCSS
$custom: #4538ca;
$custom-light: #8a71db;
$custom-dark: #000000;
JSON
{
  "hex": "#4538ca",
  "rgb": {
    "r": 69,
    "g": 56,
    "b": 202
  },
  "hsl": {
    "h": 245.342,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.45819,
    "c": 0.21415,
    "h": 277.7
  },
  "luminance": 0.08358
}

Semantic roles & 50–950 ramp

primary
#4538CA
secondary
#CACF8E
accent
#E147D3
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4538CA

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

Preview Lab → · Contrast checker → · Palette generator →

#4538CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva