#4145E2#4145E2

#4145E2 is a mid, highly saturated blue. Relative luminance 0.109; OKLCH L 49.8% C 0.231 H 273.1°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#4145E2
RGBrgb(65, 69, 226)
HSLhsl(239, 74%, 57%)
HSVhsv(239, 71%, 89%)
CMYKcmyk(71.2%, 69.5%, 0%, 11.4%)
CIE-LABlab(39.36, 48.68, -79.67)
CIE-LCHlch(39.36, 93.36, 301.43°)
OKLaboklab(49.76% 0.0125 -0.2304)
OKLCHoklch(49.76% 0.231 273.1)
XYZxyz(18.0310, 10.8692, 73.0845)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4145E2 #E2DE41
analogous
#4196E2 #4145E2 #8D41E2
triadic
#4145E2 #E24145 #45E241
tetradic
#4145E2 #E24196 #E2DE41 #41E28D
square
#4145E2 #E24196 #E2DE41 #41E28D
split-complementary
#4145E2 #E28D41 #96E241
monochromatic
#161992 #1E23C7 #4145E2 #7679EA #ABADF2

Accessibility & contrast

On white

6.62
#4145E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#4145E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4145E2
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4145E2#FFFFFF#000000##FFFFFF
##4145E21.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E7
Deuteranopia (green-blind)
#0055DF
Tritanopia (blue-blind)
#00708E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4145e2;
/* rgb */ color: rgb(65, 69, 226);
/* oklch */ color: oklch(49.8% 0.231 273.1);
Tailwind
colors: {
  custom: {
    50: '#8c7aec',
    500: '#4145e2',
    950: '#000000',
  },
}
SCSS
$custom: #4145e2;
$custom-light: #8c7aec;
$custom-dark: #000000;
JSON
{
  "hex": "#4145e2",
  "rgb": {
    "r": 65,
    "g": 69,
    "b": 226
  },
  "hsl": {
    "h": 238.509,
    "s": 73.516,
    "l": 57.059
  },
  "oklch": {
    "l": 0.49755,
    "c": 0.23074,
    "h": 273.1
  },
  "luminance": 0.10871
}

Semantic roles & 50–950 ramp

primary
#4145E2
secondary
#E0DF9F
accent
#EC38F0
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4145E2

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

Preview Lab → · Contrast checker → · Palette generator →

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