#4145DE#4145DE

#4145DE is a mid, highly saturated blue. Relative luminance 0.107; OKLCH L 49.4% C 0.226 H 273.3°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#4145DE
RGBrgb(65, 69, 222)
HSLhsl(238, 70%, 56%)
HSVhsv(238, 71%, 87%)
CMYKcmyk(70.7%, 68.9%, 0%, 12.9%)
CIE-LABlab(38.99, 47.37, -77.99)
CIE-LCHlch(38.99, 91.25, 301.27°)
OKLaboklab(49.38% 0.013 -0.2255)
OKLCHoklch(49.38% 0.226 273.3)
XYZxyz(17.4885, 10.6523, 70.2275)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4145DE #DEDA41
analogous
#4194DE #4145DE #8C41DE
triadic
#4145DE #DE4145 #45DE41
tetradic
#4145DE #DE4194 #DEDA41 #41DE8C
square
#4145DE #DE4194 #DEDA41 #41DE8C
split-complementary
#4145DE #DE8C41 #94DE41
monochromatic
#181B8C #2125C0 #4145DE #7578E7 #A9ABF0

Accessibility & contrast

On white

6.71
#4145DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#4145DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4145DE
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4145DE#FFFFFF#000000##FFFFFF
##4145DE1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E3
Deuteranopia (green-blind)
#0054DB
Tritanopia (blue-blind)
#006F8C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4145de;
/* rgb */ color: rgb(65, 69, 222);
/* oklch */ color: oklch(49.4% 0.226 273.3);
Tailwind
colors: {
  custom: {
    50: '#8b7aea',
    500: '#4145de',
    950: '#000000',
  },
}
SCSS
$custom: #4145de;
$custom-light: #8b7aea;
$custom-dark: #000000;
JSON
{
  "hex": "#4145de",
  "rgb": {
    "r": 65,
    "g": 69,
    "b": 222
  },
  "hsl": {
    "h": 238.471,
    "s": 70.404,
    "l": 56.275
  },
  "oklch": {
    "l": 0.49376,
    "c": 0.2259,
    "h": 273.3
  },
  "luminance": 0.10654
}

Semantic roles & 50–950 ramp

primary
#4145DE
secondary
#DEDC9D
accent
#E93BED
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4145DE

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

Preview Lab → · Contrast checker → · Palette generator →

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