#4145BD#4145BD

#4145BD is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.4% C 0.184 H 275.1°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#4145BD
RGBrgb(65, 69, 189)
HSLhsl(238, 49%, 50%)
HSVhsv(238, 66%, 74%)
CMYKcmyk(65.6%, 63.5%, 0%, 25.9%)
CIE-LABlab(36.09, 36.31, -63.64)
CIE-LCHlch(36.09, 73.27, 299.70°)
OKLaboklab(46.38% 0.0163 -0.1835)
OKLCHoklch(46.38% 0.184 275.1)
XYZxyz(13.4904, 9.0530, 49.1707)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4145BD #BDB941
analogous
#4183BD #4145BD #7B41BD
triadic
#4145BD #BD4145 #45BD41
tetradic
#4145BD #BD4183 #BDB941 #41BD7B
square
#4145BD #BD4183 #BDB941 #41BD7B
split-complementary
#4145BD #BD7B41 #83BD41
monochromatic
#222462 #31348F #4145BD #6E71CD #9C9EDD

Accessibility & contrast

On white

7.47
#4145BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#4145BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4145BD
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4145BD#FFFFFF#000000##FFFFFF
##4145BD1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC1
Deuteranopia (green-blind)
#004FBB
Tritanopia (blue-blind)
#00647A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4145bd;
/* rgb */ color: rgb(65, 69, 189);
/* oklch */ color: oklch(46.4% 0.184 275.1);
Tailwind
colors: {
  custom: {
    50: '#8479d2',
    500: '#4145bd',
    950: '#000000',
  },
}
SCSS
$custom: #4145bd;
$custom-light: #8479d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4145bd",
  "rgb": {
    "r": 65,
    "g": 69,
    "b": 189
  },
  "hsl": {
    "h": 238.065,
    "s": 48.819,
    "l": 49.804
  },
  "oklch": {
    "l": 0.46381,
    "c": 0.18423,
    "h": 275.1
  },
  "luminance": 0.09054
}

Semantic roles & 50–950 ramp

primary
#4145BD
secondary
#C9C791
accent
#D44FD8
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #4145BD

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

Preview Lab → · Contrast checker → · Palette generator →

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