#4145C7#4145C7

#4145C7 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.3% C 0.197 H 274.5°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#4145C7
RGBrgb(65, 69, 199)
HSLhsl(238, 54%, 52%)
HSVhsv(238, 67%, 78%)
CMYKcmyk(67.3%, 65.3%, 0%, 22%)
CIE-LABlab(36.93, 39.70, -68.10)
CIE-LCHlch(36.93, 78.82, 300.24°)
OKLaboklab(47.26% 0.0156 -0.1966)
OKLCHoklch(47.26% 0.197 274.5)
XYZxyz(14.6135, 9.5023, 55.0858)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4145C7 #C7C341
analogous
#4188C7 #4145C7 #8041C7
triadic
#4145C7 #C74145 #45C741
tetradic
#4145C7 #C74188 #C7C341 #41C780
square
#4145C7 #C74188 #C7C341 #41C780
split-complementary
#4145C7 #C78041 #88C741
monochromatic
#20236D #2E319D #4145C7 #7073D5 #A0A2E3

Accessibility & contrast

On white

7.24
#4145C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#4145C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4145C7
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4145C7#FFFFFF#000000##FFFFFF
##4145C71.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4145c7;
/* rgb */ color: rgb(65, 69, 199);
/* oklch */ color: oklch(47.3% 0.197 274.5);
Tailwind
colors: {
  custom: {
    50: '#8679d9',
    500: '#4145c7',
    950: '#000000',
  },
}
SCSS
$custom: #4145c7;
$custom-light: #8679d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4145c7",
  "rgb": {
    "r": 65,
    "g": 69,
    "b": 199
  },
  "hsl": {
    "h": 238.209,
    "s": 54.472,
    "l": 51.765
  },
  "oklch": {
    "l": 0.47262,
    "c": 0.19718,
    "h": 274.5
  },
  "luminance": 0.09504
}

Semantic roles & 50–950 ramp

primary
#4145C7
secondary
#CFCE95
accent
#D94ADE
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0D0915
muted
#7D7B83

Preview Lab

Preview with #4145C7

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

Preview Lab → · Contrast checker → · Palette generator →

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