#4145D8#4145D8

#4145D8 is a mid, highly saturated blue. Relative luminance 0.103; OKLCH L 48.8% C 0.219 H 273.6°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#4145D8
RGBrgb(65, 69, 216)
HSLhsl(238, 66%, 55%)
HSVhsv(238, 70%, 85%)
CMYKcmyk(69.9%, 68.1%, 0%, 15.3%)
CIE-LABlab(38.44, 45.39, -75.46)
CIE-LCHlch(38.44, 88.06, 301.03°)
OKLaboklab(48.81% 0.0138 -0.2181)
OKLCHoklch(48.81% 0.219 273.6)
XYZxyz(16.6986, 10.3363, 66.0675)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4145D8 #D8D441
analogous
#4190D8 #4145D8 #8941D8
triadic
#4145D8 #D84145 #45D841
tetradic
#4145D8 #D84190 #D8D441 #41D889
square
#4145D8 #D84190 #D8D441 #41D889
split-complementary
#4145D8 #D88941 #90D841
monochromatic
#1B1E84 #2529B6 #4145D8 #7477E2 #A7A8ED

Accessibility & contrast

On white

6.85
#4145D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#4145D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4145D8
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4145D8#FFFFFF#000000##FFFFFF
##4145D81.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DC
Deuteranopia (green-blind)
#0053D5
Tritanopia (blue-blind)
#006D89
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4145d8;
/* rgb */ color: rgb(65, 69, 216);
/* oklch */ color: oklch(48.8% 0.219 273.6);
Tailwind
colors: {
  custom: {
    50: '#8a79e5',
    500: '#4145d8',
    950: '#000000',
  },
}
SCSS
$custom: #4145d8;
$custom-light: #8a79e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4145d8",
  "rgb": {
    "r": 65,
    "g": 69,
    "b": 216
  },
  "hsl": {
    "h": 238.411,
    "s": 65.939,
    "l": 55.098
  },
  "oklch": {
    "l": 0.48814,
    "c": 0.21855,
    "h": 273.6
  },
  "luminance": 0.10338
}

Semantic roles & 50–950 ramp

primary
#4145D8
secondary
#DAD89B
accent
#E43FE9
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0D0916
muted
#7E7B84

Preview Lab

Preview with #4145D8

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

Preview Lab → · Contrast checker → · Palette generator →

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