#4145AE#4145AE

#4145AE is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.1% C 0.164 H 276.0°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#4145AE
RGBrgb(65, 69, 174)
HSLhsl(238, 46%, 47%)
HSVhsv(238, 63%, 68%)
CMYKcmyk(62.6%, 60.3%, 0%, 31.8%)
CIE-LABlab(34.87, 31.17, -56.75)
CIE-LCHlch(34.87, 64.75, 298.78°)
OKLaboklab(45.11% 0.017 -0.1633)
OKLCHoklch(45.11% 0.164 276)
XYZxyz(11.9456, 8.4351, 41.0348)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4145AE #AEAA41
analogous
#417CAE #4145AE #7441AE
triadic
#4145AE #AE4145 #45AE41
tetradic
#4145AE #AE417C #AEAA41 #41AE74
square
#4145AE #AE417C #AEAA41 #41AE74
split-complementary
#4145AE #AE7441 #7CAE41
monochromatic
#202255 #303381 #4145AE #666AC6 #9395D7

Accessibility & contrast

On white

7.81
#4145AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#4145AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4145AE
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4145AE#FFFFFF#000000##FFFFFF
##4145AE1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B1
Deuteranopia (green-blind)
#004DAC
Tritanopia (blue-blind)
#005F73
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4145ae;
/* rgb */ color: rgb(65, 69, 174);
/* oklch */ color: oklch(45.1% 0.164 276.0);
Tailwind
colors: {
  custom: {
    50: '#8178c7',
    500: '#4145ae',
    950: '#000000',
  },
}
SCSS
$custom: #4145ae;
$custom-light: #8178c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4145ae",
  "rgb": {
    "r": 65,
    "g": 69,
    "b": 174
  },
  "hsl": {
    "h": 237.798,
    "s": 45.607,
    "l": 46.863
  },
  "oklch": {
    "l": 0.45111,
    "c": 0.16416,
    "h": 276
  },
  "luminance": 0.08436
}

Semantic roles & 50–950 ramp

primary
#4145AE
secondary
#C2C089
accent
#D053D5
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #4145AE

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

Preview Lab → · Contrast checker → · Palette generator →

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