#4538CF#4538CF

#4538CF is a mid, highly saturated blue. Relative luminance 0.086; OKLCH L 46.3% C 0.220 H 277.3°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#4538CF
RGBrgb(69, 56, 207)
HSLhsl(245, 61%, 52%)
HSVhsv(245, 73%, 81%)
CMYKcmyk(66.7%, 72.9%, 0%, 18.8%)
CIE-LABlab(35.20, 50.29, -75.59)
CIE-LCHlch(35.20, 90.79, 303.63°)
OKLaboklab(46.31% 0.0279 -0.2184)
OKLCHoklch(46.31% 0.22 277.3)
XYZxyz(15.1272, 8.5972, 59.8816)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4538CF #C2CF38
analogous
#3876CF #4538CF #9138CF
triadic
#4538CF #CF4538 #38CF45
tetradic
#4538CF #CF3876 #C2CF38 #38CF91
square
#4538CF #CF3876 #C2CF38 #38CF91
split-complementary
#4538CF #CF9138 #76CF38
monochromatic
#231B71 #3227A3 #4538CF #7369DB #A19BE7

Accessibility & contrast

On white

7.72
#4538CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#4538CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4538CF
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4538CF#FFFFFF#000000##FFFFFF
##4538CF1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D3
Deuteranopia (green-blind)
#004CCC
Tritanopia (blue-blind)
#006380
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4538cf;
/* rgb */ color: rgb(69, 56, 207);
/* oklch */ color: oklch(46.3% 0.220 277.3);
Tailwind
colors: {
  custom: {
    50: '#8b71df',
    500: '#4538cf',
    950: '#000000',
  },
}
SCSS
$custom: #4538cf;
$custom-light: #8b71df;
$custom-dark: #000000;
JSON
{
  "hex": "#4538cf",
  "rgb": {
    "r": 69,
    "g": 56,
    "b": 207
  },
  "hsl": {
    "h": 245.166,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.46306,
    "c": 0.22013,
    "h": 277.3
  },
  "luminance": 0.08599
}

Semantic roles & 50–950 ramp

primary
#4538CF
secondary
#CDD390
accent
#E444D6
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4538CF

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

Preview Lab → · Contrast checker → · Palette generator →

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