#4538CB#4538CB

#4538CB is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 45.9% C 0.215 H 277.6°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#4538CB
RGBrgb(69, 56, 203)
HSLhsl(245, 59%, 51%)
HSVhsv(245, 72%, 80%)
CMYKcmyk(66%, 72.4%, 0%, 20.4%)
CIE-LABlab(34.81, 49.04, -73.90)
CIE-LCHlch(34.81, 88.69, 303.57°)
OKLaboklab(45.92% 0.0286 -0.2134)
OKLCHoklch(45.92% 0.215 277.6)
XYZxyz(14.6444, 8.4041, 57.3387)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4538CB #BECB38
analogous
#3874CB #4538CB #8E38CB
triadic
#4538CB #CB4538 #38CB45
tetradic
#4538CB #CB3874 #BECB38 #38CB8E
square
#4538CB #CB3874 #BECB38 #38CB8E
split-complementary
#4538CB #CB8E38 #74CB38
monochromatic
#231C6C #33299D #4538CB #7269D8 #A099E4

Accessibility & contrast

On white

7.83
#4538CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#4538CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4538CB
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4538CB#FFFFFF#000000##FFFFFF
##4538CB1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4538cb;
/* rgb */ color: rgb(69, 56, 203);
/* oklch */ color: oklch(45.9% 0.215 277.6);
Tailwind
colors: {
  custom: {
    50: '#8a71dc',
    500: '#4538cb',
    950: '#000000',
  },
}
SCSS
$custom: #4538cb;
$custom-light: #8a71dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4538cb",
  "rgb": {
    "r": 69,
    "g": 56,
    "b": 203
  },
  "hsl": {
    "h": 245.306,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.45916,
    "c": 0.21535,
    "h": 277.6
  },
  "luminance": 0.08405
}

Semantic roles & 50–950 ramp

primary
#4538CB
secondary
#CAD08F
accent
#E246D4
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4538CB

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

Preview Lab → · Contrast checker → · Palette generator →

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