#4145D5#4145D5

#4145D5 is a mid, highly saturated blue. Relative luminance 0.102; OKLCH L 48.5% C 0.215 H 273.8°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#4145D5
RGBrgb(65, 69, 213)
HSLhsl(238, 64%, 55%)
HSVhsv(238, 69%, 84%)
CMYKcmyk(69.5%, 67.6%, 0%, 16.5%)
CIE-LABlab(38.17, 44.39, -74.18)
CIE-LCHlch(38.17, 86.45, 300.90°)
OKLaboklab(48.54% 0.0141 -0.2144)
OKLCHoklch(48.54% 0.215 273.8)
XYZxyz(16.3143, 10.1826, 64.0436)
Luminance0.1018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4145D5 #D5D141
analogous
#418FD5 #4145D5 #8741D5
triadic
#4145D5 #D54145 #45D541
tetradic
#4145D5 #D5418F #D5D141 #41D587
square
#4145D5 #D5418F #D5D141 #41D587
split-complementary
#4145D5 #D58741 #8FD541
monochromatic
#1C1F7F #272BB2 #4145D5 #7376E0 #A5A7EB

Accessibility & contrast

On white

6.92
#4145D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#4145D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4145D5
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4145D5#FFFFFF#000000##FFFFFF
##4145D51.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D9
Deuteranopia (green-blind)
#0053D2
Tritanopia (blue-blind)
#006C87
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4145d5;
/* rgb */ color: rgb(65, 69, 213);
/* oklch */ color: oklch(48.5% 0.215 273.8);
Tailwind
colors: {
  custom: {
    50: '#8979e3',
    500: '#4145d5',
    950: '#000000',
  },
}
SCSS
$custom: #4145d5;
$custom-light: #8979e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4145d5",
  "rgb": {
    "r": 65,
    "g": 69,
    "b": 213
  },
  "hsl": {
    "h": 238.378,
    "s": 63.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.48535,
    "c": 0.21484,
    "h": 273.8
  },
  "luminance": 0.10184
}

Semantic roles & 50–950 ramp

primary
#4145D5
secondary
#D8D79A
accent
#E241E7
background
#F9F7FE
surface
#F1EDFC
border
#CBC8D5
text
#0D0916
muted
#7E7B84

Preview Lab

Preview with #4145D5

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

Preview Lab → · Contrast checker → · Palette generator →

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