#4134CB#4134CB

#4134CB is a mid, highly saturated blue. Relative luminance 0.079; OKLCH L 45.1% C 0.220 H 276.7°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#4134CB
RGBrgb(65, 52, 203)
HSLhsl(245, 59%, 50%)
HSVhsv(245, 74%, 80%)
CMYKcmyk(68%, 74.4%, 0%, 20.4%)
CIE-LABlab(33.75, 50.76, -75.66)
CIE-LCHlch(33.75, 91.10, 303.86°)
OKLaboklab(45.09% 0.0258 -0.2186)
OKLCHoklch(45.09% 0.22 276.7)
XYZxyz(14.1839, 7.8903, 57.2638)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4134CB #BECB34
analogous
#3472CB #4134CB #8D34CB
triadic
#4134CB #CB4134 #34CB41
tetradic
#4134CB #CB3472 #BECB34 #34CB8D
square
#4134CB #CB3472 #BECB34 #34CB8D
split-complementary
#4134CB #CB8D34 #72CB34
monochromatic
#221B6A #31289A #4134CB #6F65D7 #9C95E4

Accessibility & contrast

On white

8.14
#4134CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#4134CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4134CB
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4134CB#FFFFFF#000000##FFFFFF
##4134CB1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CF
Deuteranopia (green-blind)
#0049C8
Tritanopia (blue-blind)
#00607D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4134cb;
/* rgb */ color: rgb(65, 52, 203);
/* oklch */ color: oklch(45.1% 0.220 276.7);
Tailwind
colors: {
  custom: {
    50: '#886edc',
    500: '#4134cb',
    950: '#000000',
  },
}
SCSS
$custom: #4134cb;
$custom-light: #886edc;
$custom-dark: #000000;
JSON
{
  "hex": "#4134cb",
  "rgb": {
    "r": 65,
    "g": 52,
    "b": 203
  },
  "hsl": {
    "h": 245.166,
    "s": 59.216,
    "l": 50
  },
  "oklch": {
    "l": 0.45092,
    "c": 0.22014,
    "h": 276.7
  },
  "luminance": 0.07892
}

Semantic roles & 50–950 ramp

primary
#4134CB
secondary
#C9CF8C
accent
#E245D5
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4134CB

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

Preview Lab → · Contrast checker → · Palette generator →

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