#4139CB#4139CB

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

Color values

HEX#4139CB
RGBrgb(65, 57, 203)
HSLhsl(243, 58%, 51%)
HSVhsv(243, 72%, 80%)
CMYKcmyk(68%, 71.9%, 0%, 20.4%)
CIE-LABlab(34.72, 48.03, -74.06)
CIE-LCHlch(34.72, 88.27, 302.97°)
OKLaboklab(45.78% 0.0229 -0.214)
OKLCHoklch(45.78% 0.215 276.1)
XYZxyz(14.4191, 8.3606, 57.3422)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4139CB #C3CB39
analogous
#397ACB #4139CB #8A39CB
triadic
#4139CB #CB4139 #39CB41
tetradic
#4139CB #CB397A #C3CB39 #39CB8A
square
#4139CB #CB397A #C3CB39 #39CB8A
split-complementary
#4139CB #CB8A39 #7ACB39
monochromatic
#211D6D #30299D #4139CB #7069D8 #9E9AE4

Accessibility & contrast

On white

7.86
#4139CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#4139CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4139CB
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4139CB#FFFFFF#000000##FFFFFF
##4139CB1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4139cb;
/* rgb */ color: rgb(65, 57, 203);
/* oklch */ color: oklch(45.8% 0.215 276.1);
Tailwind
colors: {
  custom: {
    50: '#8871dc',
    500: '#4139cb',
    950: '#000000',
  },
}
SCSS
$custom: #4139cb;
$custom-light: #8871dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4139cb",
  "rgb": {
    "r": 65,
    "g": 57,
    "b": 203
  },
  "hsl": {
    "h": 243.288,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.4578,
    "c": 0.21522,
    "h": 276.1
  },
  "luminance": 0.08362
}

Semantic roles & 50–950 ramp

primary
#4139CB
secondary
#CDD090
accent
#E246D9
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4139CB

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

Preview Lab → · Contrast checker → · Palette generator →

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