#4145C2#4145C2

#4145C2 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.8% C 0.191 H 274.8°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#4145C2
RGBrgb(65, 69, 194)
HSLhsl(238, 51%, 51%)
HSVhsv(238, 66%, 76%)
CMYKcmyk(66.5%, 64.4%, 0%, 23.9%)
CIE-LABlab(36.51, 38.00, -65.88)
CIE-LCHlch(36.51, 76.06, 299.98°)
OKLaboklab(46.82% 0.016 -0.1901)
OKLCHoklch(46.82% 0.191 274.8)
XYZxyz(14.0425, 9.2739, 52.0785)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4145C2 #C2BE41
analogous
#4185C2 #4145C2 #7E41C2
triadic
#4145C2 #C24145 #45C241
tetradic
#4145C2 #C24185 #C2BE41 #41C27E
square
#4145C2 #C24185 #C2BE41 #41C27E
split-complementary
#4145C2 #C27E41 #85C241
monochromatic
#212367 #303396 #4145C2 #6F72D1 #9EA0E0

Accessibility & contrast

On white

7.36
#4145C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#4145C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4145C2
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4145C2#FFFFFF#000000##FFFFFF
##4145C21.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC6
Deuteranopia (green-blind)
#0050C0
Tritanopia (blue-blind)
#00657D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4145c2;
/* rgb */ color: rgb(65, 69, 194);
/* oklch */ color: oklch(46.8% 0.191 274.8);
Tailwind
colors: {
  custom: {
    50: '#8579d5',
    500: '#4145c2',
    950: '#000000',
  },
}
SCSS
$custom: #4145c2;
$custom-light: #8579d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4145c2",
  "rgb": {
    "r": 65,
    "g": 69,
    "b": 194
  },
  "hsl": {
    "h": 238.14,
    "s": 51.394,
    "l": 50.784
  },
  "oklch": {
    "l": 0.46818,
    "c": 0.19074,
    "h": 274.8
  },
  "luminance": 0.09275
}

Semantic roles & 50–950 ramp

primary
#4145C2
secondary
#CCCA93
accent
#D64DDB
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #4145C2

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

Preview Lab → · Contrast checker → · Palette generator →

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