#4145A4#4145A4

#4145A4 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.3% C 0.150 H 276.5°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#4145A4
RGBrgb(65, 69, 164)
HSLhsl(238, 43%, 45%)
HSVhsv(238, 60%, 64%)
CMYKcmyk(60.4%, 57.9%, 0%, 35.7%)
CIE-LABlab(34.11, 27.74, -52.02)
CIE-LCHlch(34.11, 58.95, 298.06°)
OKLaboklab(44.3% 0.0171 -0.1494)
OKLCHoklch(44.3% 0.15 276.5)
XYZxyz(11.0068, 8.0596, 36.0904)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4145A4 #A4A041
analogous
#4176A4 #4145A4 #6F41A4
triadic
#4145A4 #A44145 #45A441
tetradic
#4145A4 #A44176 #A4A041 #41A46F
square
#4145A4 #A44176 #A4A041 #41A46F
split-complementary
#4145A4 #A46F41 #76A441
monochromatic
#1E204C #303378 #4145A4 #6265C1 #8D90D2

Accessibility & contrast

On white

8.04
#4145A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#4145A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4145A4
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4145A4#FFFFFF#000000##FFFFFF
##4145A41.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A7
Deuteranopia (green-blind)
#004CA2
Tritanopia (blue-blind)
#005C6D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4145a4;
/* rgb */ color: rgb(65, 69, 164);
/* oklch */ color: oklch(44.3% 0.150 276.5);
Tailwind
colors: {
  custom: {
    50: '#7f78c0',
    500: '#4145a4',
    950: '#000000',
  },
}
SCSS
$custom: #4145a4;
$custom-light: #7f78c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4145a4",
  "rgb": {
    "r": 65,
    "g": 69,
    "b": 164
  },
  "hsl": {
    "h": 237.576,
    "s": 43.231,
    "l": 44.902
  },
  "oklch": {
    "l": 0.44302,
    "c": 0.15034,
    "h": 276.5
  },
  "luminance": 0.0806
}

Semantic roles & 50–950 ramp

primary
#4145A4
secondary
#BDBB84
accent
#CE55D3
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #4145A4

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

Preview Lab → · Contrast checker → · Palette generator →

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