#4145BA#4145BA

#4145BA is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.1% C 0.180 H 275.3°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#4145BA
RGBrgb(65, 69, 186)
HSLhsl(238, 48%, 49%)
HSVhsv(238, 65%, 73%)
CMYKcmyk(65.1%, 62.9%, 0%, 27.1%)
CIE-LABlab(35.84, 35.28, -62.28)
CIE-LCHlch(35.84, 71.58, 299.53°)
OKLaboklab(46.12% 0.0165 -0.1795)
OKLCHoklch(46.12% 0.18 275.3)
XYZxyz(13.1681, 8.9241, 47.4734)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4145BA #BAB641
analogous
#4181BA #4145BA #7A41BA
triadic
#4145BA #BA4145 #45BA41
tetradic
#4145BA #BA4181 #BAB641 #41BA7A
square
#4145BA #BA4181 #BAB641 #41BA7A
split-complementary
#4145BA #BA7A41 #81BA41
monochromatic
#21235F #31348D #4145BA #6C70CC #9A9CDC

Accessibility & contrast

On white

7.54
#4145BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#4145BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4145BA
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4145BA#FFFFFF#000000##FFFFFF
##4145BA1.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABE
Deuteranopia (green-blind)
#004FB8
Tritanopia (blue-blind)
#006379
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4145ba;
/* rgb */ color: rgb(65, 69, 186);
/* oklch */ color: oklch(46.1% 0.180 275.3);
Tailwind
colors: {
  custom: {
    50: '#8479d0',
    500: '#4145ba',
    950: '#000000',
  },
}
SCSS
$custom: #4145ba;
$custom-light: #8479d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4145ba",
  "rgb": {
    "r": 65,
    "g": 69,
    "b": 186
  },
  "hsl": {
    "h": 238.017,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.46122,
    "c": 0.18027,
    "h": 275.3
  },
  "luminance": 0.08925
}

Semantic roles & 50–950 ramp

primary
#4145BA
secondary
#C8C68F
accent
#D350D8
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #4145BA

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

Preview Lab → · Contrast checker → · Palette generator →

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