#4134DB#4134DB

#4134DB is a mid, highly saturated blue. Relative luminance 0.087; OKLCH L 46.7% C 0.239 H 275.4°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#4134DB
RGBrgb(65, 52, 219)
HSLhsl(245, 70%, 53%)
HSVhsv(245, 76%, 86%)
CMYKcmyk(70.3%, 76.3%, 0%, 14.1%)
CIE-LABlab(35.39, 55.67, -82.21)
CIE-LCHlch(35.39, 99.29, 304.11°)
OKLaboklab(46.73% 0.0223 -0.2377)
OKLCHoklch(46.73% 0.239 275.4)
XYZxyz(16.1899, 8.6927, 67.8287)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4134DB #CEDB34
analogous
#347ADB #4134DB #9534DB
triadic
#4134DB #DB4134 #34DB41
tetradic
#4134DB #DB347A #CEDB34 #34DB95
square
#4134DB #DB347A #CEDB34 #34DB95
split-complementary
#4134DB #DB9534 #7ADB34
monochromatic
#1E167E #2B20B2 #4134DB #7268E4 #A29CED

Accessibility & contrast

On white

7.67
#4134DB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#4134DB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4134DB
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4134DB#FFFFFF#000000##FFFFFF
##4134DB1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AE0
Deuteranopia (green-blind)
#004CD8
Tritanopia (blue-blind)
#006686
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4134db;
/* rgb */ color: rgb(65, 52, 219);
/* oklch */ color: oklch(46.7% 0.239 275.4);
Tailwind
colors: {
  custom: {
    50: '#8c6fe8',
    500: '#4134db',
    950: '#000000',
  },
}
SCSS
$custom: #4134db;
$custom-light: #8c6fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#4134db",
  "rgb": {
    "r": 65,
    "g": 52,
    "b": 219
  },
  "hsl": {
    "h": 244.671,
    "s": 69.874,
    "l": 53.137
  },
  "oklch": {
    "l": 0.46726,
    "c": 0.23876,
    "h": 275.4
  },
  "luminance": 0.08694
}

Semantic roles & 50–950 ramp

primary
#4134DB
secondary
#D4D991
accent
#ED3BDF
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0716
muted
#7E7A84

Preview Lab

Preview with #4134DB

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

Preview Lab → · Contrast checker → · Palette generator →

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