#4145BF#4145BF

#4145BF is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.6% C 0.187 H 275.0°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#4145BF
RGBrgb(65, 69, 191)
HSLhsl(238, 50%, 50%)
HSVhsv(238, 66%, 75%)
CMYKcmyk(66%, 63.9%, 0%, 25.1%)
CIE-LABlab(36.25, 36.99, -64.54)
CIE-LCHlch(36.25, 74.39, 299.82°)
OKLaboklab(46.56% 0.0162 -0.1861)
OKLCHoklch(46.56% 0.187 275)
XYZxyz(13.7090, 9.1404, 50.3219)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4145BF #BFBB41
analogous
#4184BF #4145BF #7C41BF
triadic
#4145BF #BF4145 #45BF41
tetradic
#4145BF #BF4184 #BFBB41 #41BF7C
square
#4145BF #BF4184 #BFBB41 #41BF7C
split-complementary
#4145BF #BF7C41 #84BF41
monochromatic
#222464 #313492 #4145BF #6F72CE #9D9FDE

Accessibility & contrast

On white

7.42
#4145BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#4145BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4145BF
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4145BF#FFFFFF#000000##FFFFFF
##4145BF1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC3
Deuteranopia (green-blind)
#0050BD
Tritanopia (blue-blind)
#00647B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4145bf;
/* rgb */ color: rgb(65, 69, 191);
/* oklch */ color: oklch(46.6% 0.187 275.0);
Tailwind
colors: {
  custom: {
    50: '#8579d3',
    500: '#4145bf',
    950: '#000000',
  },
}
SCSS
$custom: #4145bf;
$custom-light: #8579d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4145bf",
  "rgb": {
    "r": 65,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 238.095,
    "s": 49.606,
    "l": 50.196
  },
  "oklch": {
    "l": 0.46555,
    "c": 0.18684,
    "h": 275
  },
  "luminance": 0.09142
}

Semantic roles & 50–950 ramp

primary
#4145BF
secondary
#CAC892
accent
#D54FD9
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #4145BF

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

Preview Lab → · Contrast checker → · Palette generator →

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