#4741CB#4741CB

#4741CB is a mid, highly saturated blue. Relative luminance 0.094; OKLCH L 47.4% C 0.205 H 277.0°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#4741CB
RGBrgb(71, 65, 203)
HSLhsl(243, 57%, 53%)
HSVhsv(243, 68%, 80%)
CMYKcmyk(65%, 68%, 0%, 20.4%)
CIE-LABlab(36.80, 44.19, -70.63)
CIE-LCHlch(36.80, 83.31, 302.04°)
OKLaboklab(47.38% 0.0252 -0.2038)
OKLCHoklch(47.38% 0.205 277)
XYZxyz(15.2648, 9.4307, 57.5042)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4741CB #C5CB41
analogous
#4180CB #4741CB #8C41CB
triadic
#4741CB #CB4741 #41CB47
tetradic
#4741CB #CB4180 #C5CB41 #41CB8C
square
#4741CB #CB4180 #C5CB41 #41CB8C
split-complementary
#4741CB #CB8C41 #80CB41
monochromatic
#231F72 #322CA2 #4741CB #7671D8 #A4A1E5

Accessibility & contrast

On white

7.28
#4741CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#4741CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4741CB
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4741CB#FFFFFF#000000##FFFFFF
##4741CB1.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCF
Deuteranopia (green-blind)
#0051C8
Tritanopia (blue-blind)
#006681
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4741cb;
/* rgb */ color: rgb(71, 65, 203);
/* oklch */ color: oklch(47.4% 0.205 277.0);
Tailwind
colors: {
  custom: {
    50: '#8a77dc',
    500: '#4741cb',
    950: '#000000',
  },
}
SCSS
$custom: #4741cb;
$custom-light: #8a77dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4741cb",
  "rgb": {
    "r": 71,
    "g": 65,
    "b": 203
  },
  "hsl": {
    "h": 242.609,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.47377,
    "c": 0.20538,
    "h": 277
  },
  "luminance": 0.09432
}

Semantic roles & 50–950 ramp

primary
#4741CB
secondary
#CFD296
accent
#E048DA
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4741CB

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

Preview Lab → · Contrast checker → · Palette generator →

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