#4145D4#4145D4

#4145D4 is a mid, highly saturated blue. Relative luminance 0.101; OKLCH L 48.4% C 0.214 H 273.8°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#4145D4
RGBrgb(65, 69, 212)
HSLhsl(238, 63%, 54%)
HSVhsv(238, 69%, 83%)
CMYKcmyk(69.3%, 67.5%, 0%, 16.9%)
CIE-LABlab(38.08, 44.06, -73.75)
CIE-LCHlch(38.08, 85.91, 300.85°)
OKLaboklab(48.44% 0.0143 -0.2131)
OKLCHoklch(48.44% 0.214 273.8)
XYZxyz(16.1878, 10.1320, 63.3772)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4145D4 #D4D041
analogous
#418FD4 #4145D4 #8641D4
triadic
#4145D4 #D44145 #45D441
tetradic
#4145D4 #D4418F #D4D041 #41D486
square
#4145D4 #D4418F #D4D041 #41D486
split-complementary
#4145D4 #D48641 #8FD441
monochromatic
#1D1F7E #282CB0 #4145D4 #7376DF #A5A7EB

Accessibility & contrast

On white

6.94
#4145D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#4145D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4145D4
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4145D4#FFFFFF#000000##FFFFFF
##4145D41.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D8
Deuteranopia (green-blind)
#0053D1
Tritanopia (blue-blind)
#006B87
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4145d4;
/* rgb */ color: rgb(65, 69, 212);
/* oklch */ color: oklch(48.4% 0.214 273.8);
Tailwind
colors: {
  custom: {
    50: '#8979e2',
    500: '#4145d4',
    950: '#000000',
  },
}
SCSS
$custom: #4145d4;
$custom-light: #8979e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4145d4",
  "rgb": {
    "r": 65,
    "g": 69,
    "b": 212
  },
  "hsl": {
    "h": 238.367,
    "s": 63.09,
    "l": 54.314
  },
  "oklch": {
    "l": 0.48443,
    "c": 0.2136,
    "h": 273.8
  },
  "luminance": 0.10134
}

Semantic roles & 50–950 ramp

primary
#4145D4
secondary
#D8D699
accent
#E242E6
background
#F9F7FE
surface
#F1EDFC
border
#CBC8D5
text
#0D0916
muted
#7E7B84

Preview Lab

Preview with #4145D4

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

Preview Lab → · Contrast checker → · Palette generator →

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