#4145C4#4145C4

#4145C4 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 47.0% C 0.193 H 274.7°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#4145C4
RGBrgb(65, 69, 196)
HSLhsl(238, 53%, 51%)
HSVhsv(238, 67%, 77%)
CMYKcmyk(66.8%, 64.8%, 0%, 23.1%)
CIE-LABlab(36.68, 38.68, -66.77)
CIE-LCHlch(36.68, 77.17, 300.09°)
OKLaboklab(47% 0.0158 -0.1927)
OKLCHoklch(47% 0.193 274.7)
XYZxyz(14.2686, 9.3643, 53.2694)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4145C4 #C4C041
analogous
#4186C4 #4145C4 #7E41C4
triadic
#4145C4 #C44145 #45C441
tetradic
#4145C4 #C44186 #C4C041 #41C47E
square
#4145C4 #C44186 #C4C041 #41C47E
split-complementary
#4145C4 #C47E41 #86C441
monochromatic
#21236A #2F3398 #4145C4 #7073D3 #9EA0E1

Accessibility & contrast

On white

7.31
#4145C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#4145C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4145C4
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4145C4#FFFFFF#000000##FFFFFF
##4145C41.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC8
Deuteranopia (green-blind)
#0050C2
Tritanopia (blue-blind)
#00667E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4145c4;
/* rgb */ color: rgb(65, 69, 196);
/* oklch */ color: oklch(47.0% 0.193 274.7);
Tailwind
colors: {
  custom: {
    50: '#8679d7',
    500: '#4145c4',
    950: '#000000',
  },
}
SCSS
$custom: #4145c4;
$custom-light: #8679d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4145c4",
  "rgb": {
    "r": 65,
    "g": 69,
    "b": 196
  },
  "hsl": {
    "h": 238.168,
    "s": 52.61,
    "l": 51.176
  },
  "oklch": {
    "l": 0.46995,
    "c": 0.19333,
    "h": 274.7
  },
  "luminance": 0.09366
}

Semantic roles & 50–950 ramp

primary
#4145C4
secondary
#CDCC93
accent
#D84CDC
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #4145C4

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

Preview Lab → · Contrast checker → · Palette generator →

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