#4145C8#4145C8

#4145C8 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.4% C 0.198 H 274.5°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#4145C8
RGBrgb(65, 69, 200)
HSLhsl(238, 55%, 52%)
HSVhsv(238, 68%, 78%)
CMYKcmyk(67.5%, 65.5%, 0%, 21.6%)
CIE-LABlab(37.02, 40.04, -68.54)
CIE-LCHlch(37.02, 79.38, 300.29°)
OKLaboklab(47.35% 0.0155 -0.1979)
OKLCHoklch(47.35% 0.198 274.5)
XYZxyz(14.7300, 9.5488, 55.6992)
Luminance0.0955 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4145C8 #C8C441
analogous
#4189C8 #4145C8 #8141C8
triadic
#4145C8 #C84145 #45C841
tetradic
#4145C8 #C84189 #C8C441 #41C881
square
#4145C8 #C84189 #C8C441 #41C881
split-complementary
#4145C8 #C88141 #89C841
monochromatic
#20226F #2E319E #4145C8 #7073D6 #A0A2E3

Accessibility & contrast

On white

7.22
#4145C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#4145C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4145C8
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4145C8#FFFFFF#000000##FFFFFF
##4145C81.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCC
Deuteranopia (green-blind)
#0051C6
Tritanopia (blue-blind)
#006780
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4145c8;
/* rgb */ color: rgb(65, 69, 200);
/* oklch */ color: oklch(47.4% 0.198 274.5);
Tailwind
colors: {
  custom: {
    50: '#8679da',
    500: '#4145c8',
    950: '#000000',
  },
}
SCSS
$custom: #4145c8;
$custom-light: #8679da;
$custom-dark: #000000;
JSON
{
  "hex": "#4145c8",
  "rgb": {
    "r": 65,
    "g": 69,
    "b": 200
  },
  "hsl": {
    "h": 238.222,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.47351,
    "c": 0.19846,
    "h": 274.5
  },
  "luminance": 0.0955
}

Semantic roles & 50–950 ramp

primary
#4145C8
secondary
#D0CE95
accent
#DA49DE
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4145C8

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

Preview Lab → · Contrast checker → · Palette generator →

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