#4538CC#4538CC

#4538CC is a mid, highly saturated blue. Relative luminance 0.085; OKLCH L 46.0% C 0.217 H 277.5°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#4538CC
RGBrgb(69, 56, 204)
HSLhsl(245, 59%, 51%)
HSVhsv(245, 73%, 80%)
CMYKcmyk(66.2%, 72.5%, 0%, 20%)
CIE-LABlab(34.91, 49.35, -74.33)
CIE-LCHlch(34.91, 89.22, 303.58°)
OKLaboklab(46.01% 0.0284 -0.2147)
OKLCHoklch(46.01% 0.217 277.5)
XYZxyz(14.7640, 8.4519, 57.9684)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4538CC #BFCC38
analogous
#3875CC #4538CC #8F38CC
triadic
#4538CC #CC4538 #38CC45
tetradic
#4538CC #CC3875 #BFCC38 #38CC8F
square
#4538CC #CC3875 #BFCC38 #38CC8F
split-complementary
#4538CC #CC8F38 #75CC38
monochromatic
#231C6E #33299E #4538CC #7369D8 #A099E5

Accessibility & contrast

On white

7.80
#4538CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#4538CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4538CC
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4538CC#FFFFFF#000000##FFFFFF
##4538CC1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D0
Deuteranopia (green-blind)
#004CC9
Tritanopia (blue-blind)
#00627F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4538cc;
/* rgb */ color: rgb(69, 56, 204);
/* oklch */ color: oklch(46.0% 0.217 277.5);
Tailwind
colors: {
  custom: {
    50: '#8a71dd',
    500: '#4538cc',
    950: '#000000',
  },
}
SCSS
$custom: #4538cc;
$custom-light: #8a71dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4538cc",
  "rgb": {
    "r": 69,
    "g": 56,
    "b": 204
  },
  "hsl": {
    "h": 245.27,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.46013,
    "c": 0.21655,
    "h": 277.5
  },
  "luminance": 0.08453
}

Semantic roles & 50–950 ramp

primary
#4538CC
secondary
#CBD18F
accent
#E245D5
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4538CC

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

Preview Lab → · Contrast checker → · Palette generator →

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