#4145D9#4145D9

#4145D9 is a mid, highly saturated blue. Relative luminance 0.104; OKLCH L 48.9% C 0.220 H 273.6°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#4145D9
RGBrgb(65, 69, 217)
HSLhsl(238, 67%, 55%)
HSVhsv(238, 70%, 85%)
CMYKcmyk(70%, 68.2%, 0%, 14.9%)
CIE-LABlab(38.53, 45.72, -75.88)
CIE-LCHlch(38.53, 88.59, 301.07°)
OKLaboklab(48.91% 0.0137 -0.2193)
OKLCHoklch(48.91% 0.22 273.6)
XYZxyz(16.8283, 10.3882, 66.7504)
Luminance0.1039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4145D9 #D9D541
analogous
#4191D9 #4145D9 #8941D9
triadic
#4145D9 #D94145 #45D941
tetradic
#4145D9 #D94191 #D9D541 #41D989
square
#4145D9 #D94191 #D9D541 #41D989
split-complementary
#4145D9 #D98941 #91D941
monochromatic
#1B1D85 #2529B8 #4145D9 #7477E3 #A7A9ED

Accessibility & contrast

On white

6.82
#4145D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#4145D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4145D9
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4145D9#FFFFFF#000000##FFFFFF
##4145D91.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DE
Deuteranopia (green-blind)
#0054D6
Tritanopia (blue-blind)
#006D8A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4145d9;
/* rgb */ color: rgb(65, 69, 217);
/* oklch */ color: oklch(48.9% 0.220 273.6);
Tailwind
colors: {
  custom: {
    50: '#8a79e6',
    500: '#4145d9',
    950: '#000000',
  },
}
SCSS
$custom: #4145d9;
$custom-light: #8a79e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4145d9",
  "rgb": {
    "r": 65,
    "g": 69,
    "b": 217
  },
  "hsl": {
    "h": 238.421,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.48907,
    "c": 0.21978,
    "h": 273.6
  },
  "luminance": 0.1039
}

Semantic roles & 50–950 ramp

primary
#4145D9
secondary
#DBD99B
accent
#E53EEA
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0D0916
muted
#7E7B84

Preview Lab

Preview with #4145D9

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

Preview Lab → · Contrast checker → · Palette generator →

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