#4145EA#4145EA

#4145EA is a mid, highly saturated blue. Relative luminance 0.113; OKLCH L 50.5% C 0.240 H 272.7°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#4145EA
RGBrgb(65, 69, 234)
HSLhsl(239, 80%, 59%)
HSVhsv(239, 72%, 92%)
CMYKcmyk(72.2%, 70.5%, 0%, 8.2%)
CIE-LABlab(40.11, 51.28, -82.97)
CIE-LCHlch(40.11, 97.54, 301.72°)
OKLaboklab(50.52% 0.0114 -0.24)
OKLCHoklch(50.52% 0.24 272.7)
XYZxyz(19.1544, 11.3186, 79.0012)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4145EA #EAE641
analogous
#4199EA #4145EA #9141EA
triadic
#4145EA #EA4145 #45EA41
tetradic
#4145EA #EA4199 #EAE641 #41EA91
square
#4145EA #EA4199 #EAE641 #41EA91
split-complementary
#4145EA #EA9141 #99EA41
monochromatic
#12159F #181CD6 #4145EA #787BF0 #AFB1F6

Accessibility & contrast

On white

6.43
#4145EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#4145EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4145EA
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4145EA#FFFFFF#000000##FFFFFF
##4145EA1.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067EF
Deuteranopia (green-blind)
#0056E7
Tritanopia (blue-blind)
#007393
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4145ea;
/* rgb */ color: rgb(65, 69, 234);
/* oklch */ color: oklch(50.5% 0.240 272.7);
Tailwind
colors: {
  custom: {
    50: '#8e7af2',
    500: '#4145ea',
    950: '#000000',
  },
}
SCSS
$custom: #4145ea;
$custom-light: #8e7af2;
$custom-dark: #000000;
JSON
{
  "hex": "#4145ea",
  "rgb": {
    "r": 65,
    "g": 69,
    "b": 234
  },
  "hsl": {
    "h": 238.58,
    "s": 80.095,
    "l": 58.627
  },
  "oklch": {
    "l": 0.50522,
    "c": 0.24031,
    "h": 272.7
  },
  "luminance": 0.11321
}

Semantic roles & 50–950 ramp

primary
#4145EA
secondary
#E5E3A2
accent
#F231F7
background
#F9F7FF
surface
#F2EEFE
border
#CCC9D6
text
#0E0917
muted
#7E7B85

Preview Lab

Preview with #4145EA

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

Preview Lab → · Contrast checker → · Palette generator →

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