#4145BE#4145BE

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

Color values

HEX#4145BE
RGBrgb(65, 69, 190)
HSLhsl(238, 49%, 50%)
HSVhsv(238, 66%, 75%)
CMYKcmyk(65.8%, 63.7%, 0%, 25.5%)
CIE-LABlab(36.17, 36.65, -64.09)
CIE-LCHlch(36.17, 73.83, 299.76°)
OKLaboklab(46.47% 0.0163 -0.1848)
OKLCHoklch(46.47% 0.186 275)
XYZxyz(13.5993, 9.0966, 49.7444)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4145BE #BEBA41
analogous
#4184BE #4145BE #7B41BE
triadic
#4145BE #BE4145 #45BE41
tetradic
#4145BE #BE4184 #BEBA41 #41BE7B
square
#4145BE #BE4184 #BEBA41 #41BE7B
split-complementary
#4145BE #BE7B41 #84BE41
monochromatic
#222463 #313490 #4145BE #6F72CE #9C9EDD

Accessibility & contrast

On white

7.45
#4145BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#4145BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4145BE
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4145BE#FFFFFF#000000##FFFFFF
##4145BE1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4145be;
/* rgb */ color: rgb(65, 69, 190);
/* oklch */ color: oklch(46.5% 0.186 275.0);
Tailwind
colors: {
  custom: {
    50: '#8479d3',
    500: '#4145be',
    950: '#000000',
  },
}
SCSS
$custom: #4145be;
$custom-light: #8479d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4145be",
  "rgb": {
    "r": 65,
    "g": 69,
    "b": 190
  },
  "hsl": {
    "h": 238.08,
    "s": 49.02,
    "l": 50
  },
  "oklch": {
    "l": 0.46468,
    "c": 0.18553,
    "h": 275
  },
  "luminance": 0.09098
}

Semantic roles & 50–950 ramp

primary
#4145BE
secondary
#C9C891
accent
#D44FD9
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #4145BE

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

Preview Lab → · Contrast checker → · Palette generator →

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