#4145C3#4145C3

#4145C3 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.9% C 0.192 H 274.7°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#4145C3
RGBrgb(65, 69, 195)
HSLhsl(238, 52%, 51%)
HSVhsv(238, 67%, 76%)
CMYKcmyk(66.7%, 64.6%, 0%, 23.5%)
CIE-LABlab(36.59, 38.34, -66.33)
CIE-LCHlch(36.59, 76.61, 300.03°)
OKLaboklab(46.91% 0.0159 -0.1914)
OKLCHoklch(46.91% 0.192 274.7)
XYZxyz(14.1552, 9.3189, 52.6719)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4145C3 #C3BF41
analogous
#4186C3 #4145C3 #7E41C3
triadic
#4145C3 #C34145 #45C341
tetradic
#4145C3 #C34186 #C3BF41 #41C37E
square
#4145C3 #C34186 #C3BF41 #41C37E
split-complementary
#4145C3 #C37E41 #86C341
monochromatic
#212369 #303397 #4145C3 #7073D2 #9EA0E0

Accessibility & contrast

On white

7.33
#4145C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#4145C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4145C3
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4145C3#FFFFFF#000000##FFFFFF
##4145C31.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4145c3;
/* rgb */ color: rgb(65, 69, 195);
/* oklch */ color: oklch(46.9% 0.192 274.7);
Tailwind
colors: {
  custom: {
    50: '#8579d6',
    500: '#4145c3',
    950: '#000000',
  },
}
SCSS
$custom: #4145c3;
$custom-light: #8579d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4145c3",
  "rgb": {
    "r": 65,
    "g": 69,
    "b": 195
  },
  "hsl": {
    "h": 238.154,
    "s": 52,
    "l": 50.98
  },
  "oklch": {
    "l": 0.46906,
    "c": 0.19204,
    "h": 274.7
  },
  "luminance": 0.0932
}

Semantic roles & 50–950 ramp

primary
#4145C3
secondary
#CDCB93
accent
#D74CDB
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #4145C3

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

Preview Lab → · Contrast checker → · Palette generator →

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