#4145E4#4145E4

#4145E4 is a mid, highly saturated blue. Relative luminance 0.110; OKLCH L 49.9% C 0.233 H 273.0°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#4145E4
RGBrgb(65, 69, 228)
HSLhsl(239, 75%, 57%)
HSVhsv(239, 71%, 89%)
CMYKcmyk(71.5%, 69.7%, 0%, 10.6%)
CIE-LABlab(39.55, 49.33, -80.50)
CIE-LCHlch(39.55, 94.41, 301.50°)
OKLaboklab(49.95% 0.0123 -0.2328)
OKLCHoklch(49.95% 0.233 273)
XYZxyz(18.3070, 10.9797, 74.5382)
Luminance0.1098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4145E4 #E4E041
analogous
#4196E4 #4145E4 #8F41E4
triadic
#4145E4 #E44145 #45E441
tetradic
#4145E4 #E44196 #E4E041 #41E48F
square
#4145E4 #E44196 #E4E041 #41E48F
split-complementary
#4145E4 #E48F41 #96E441
monochromatic
#151895 #1D21CB #4145E4 #7779EC #ACAEF3

Accessibility & contrast

On white

6.57
#4145E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#4145E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4145E4
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4145E4#FFFFFF#000000##FFFFFF
##4145E41.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E9
Deuteranopia (green-blind)
#0055E1
Tritanopia (blue-blind)
#007190
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4145e4;
/* rgb */ color: rgb(65, 69, 228);
/* oklch */ color: oklch(49.9% 0.233 273.0);
Tailwind
colors: {
  custom: {
    50: '#8c7aee',
    500: '#4145e4',
    950: '#000000',
  },
}
SCSS
$custom: #4145e4;
$custom-light: #8c7aee;
$custom-dark: #000000;
JSON
{
  "hex": "#4145e4",
  "rgb": {
    "r": 65,
    "g": 69,
    "b": 228
  },
  "hsl": {
    "h": 238.528,
    "s": 75.115,
    "l": 57.451
  },
  "oklch": {
    "l": 0.49946,
    "c": 0.23315,
    "h": 273
  },
  "luminance": 0.10981
}

Semantic roles & 50–950 ramp

primary
#4145E4
secondary
#E1E09F
accent
#ED36F2
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0917
muted
#7E7B85

Preview Lab

Preview with #4145E4

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

Preview Lab → · Contrast checker → · Palette generator →

#4145E4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva