#4134CC#4134CC

#4134CC is a mid, highly saturated blue. Relative luminance 0.079; OKLCH L 45.2% C 0.221 H 276.6°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#4134CC
RGBrgb(65, 52, 204)
HSLhsl(245, 60%, 50%)
HSVhsv(245, 75%, 80%)
CMYKcmyk(68.1%, 74.5%, 0%, 20%)
CIE-LABlab(33.85, 51.07, -76.07)
CIE-LCHlch(33.85, 91.62, 303.87°)
OKLaboklab(45.19% 0.0256 -0.2198)
OKLCHoklch(45.19% 0.221 276.6)
XYZxyz(14.3035, 7.9381, 57.8935)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4134CC #BFCC34
analogous
#3473CC #4134CC #8D34CC
triadic
#4134CC #CC4134 #34CC41
tetradic
#4134CC #CC3473 #BFCC34 #34CC8D
square
#4134CC #CC3473 #BFCC34 #34CC8D
split-complementary
#4134CC #CC8D34 #73CC34
monochromatic
#221B6B #31279C #4134CC #6F65D8 #9D96E5

Accessibility & contrast

On white

8.12
#4134CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#4134CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4134CC
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4134CC#FFFFFF#000000##FFFFFF
##4134CC1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056D0
Deuteranopia (green-blind)
#0049C9
Tritanopia (blue-blind)
#00607E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4134cc;
/* rgb */ color: rgb(65, 52, 204);
/* oklch */ color: oklch(45.2% 0.221 276.6);
Tailwind
colors: {
  custom: {
    50: '#896edd',
    500: '#4134cc',
    950: '#000000',
  },
}
SCSS
$custom: #4134cc;
$custom-light: #896edd;
$custom-dark: #000000;
JSON
{
  "hex": "#4134cc",
  "rgb": {
    "r": 65,
    "g": 52,
    "b": 204
  },
  "hsl": {
    "h": 245.132,
    "s": 59.843,
    "l": 50.196
  },
  "oklch": {
    "l": 0.45193,
    "c": 0.22132,
    "h": 276.6
  },
  "luminance": 0.07939
}

Semantic roles & 50–950 ramp

primary
#4134CC
secondary
#CAD08C
accent
#E345D5
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4134CC

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

Preview Lab → · Contrast checker → · Palette generator →

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