#4738CB#4738CB

#4738CB is a mid, highly saturated blue. Relative luminance 0.085; OKLCH L 46.1% C 0.215 H 278.4°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#4738CB
RGBrgb(71, 56, 203)
HSLhsl(246, 59%, 51%)
HSVhsv(246, 72%, 80%)
CMYKcmyk(65%, 72.4%, 0%, 20.4%)
CIE-LABlab(34.96, 49.27, -73.65)
CIE-LCHlch(34.96, 88.61, 303.78°)
OKLaboklab(46.06% 0.0313 -0.2126)
OKLCHoklch(46.06% 0.215 278.4)
XYZxyz(14.7887, 8.4785, 57.3455)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4738CB #BCCB38
analogous
#3873CB #4738CB #9038CB
triadic
#4738CB #CB4738 #38CB47
tetradic
#4738CB #CB3873 #BCCB38 #38CB90
square
#4738CB #CB3873 #BCCB38 #38CB90
split-complementary
#4738CB #CB9038 #73CB38
monochromatic
#241C6C #35299D #4738CB #7469D8 #A199E4

Accessibility & contrast

On white

7.79
#4738CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#4738CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4738CB
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4738CB#FFFFFF#000000##FFFFFF
##4738CB1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.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: #4738cb;
/* rgb */ color: rgb(71, 56, 203);
/* oklch */ color: oklch(46.1% 0.215 278.4);
Tailwind
colors: {
  custom: {
    50: '#8b71dc',
    500: '#4738cb',
    950: '#000000',
  },
}
SCSS
$custom: #4738cb;
$custom-light: #8b71dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4738cb",
  "rgb": {
    "r": 71,
    "g": 56,
    "b": 203
  },
  "hsl": {
    "h": 246.122,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.4606,
    "c": 0.21493,
    "h": 278.4
  },
  "luminance": 0.0848
}

Semantic roles & 50–950 ramp

primary
#4738CB
secondary
#C9D08F
accent
#E246D2
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4738CB

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

Preview Lab → · Contrast checker → · Palette generator →

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