#4148BC#4148BC

#4148BC is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.8% C 0.179 H 274.5°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#4148BC
RGBrgb(65, 72, 188)
HSLhsl(237, 49%, 50%)
HSVhsv(237, 65%, 74%)
CMYKcmyk(65.4%, 61.7%, 0%, 26.3%)
CIE-LABlab(36.72, 34.09, -62.02)
CIE-LCHlch(36.72, 70.77, 298.80°)
OKLaboklab(46.82% 0.014 -0.1787)
OKLCHoklch(46.82% 0.179 274.5)
XYZxyz(13.5714, 9.3882, 48.6641)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4148BC #BCB541
analogous
#4186BC #4148BC #7741BC
triadic
#4148BC #BC4148 #48BC41
tetradic
#4148BC #BC4186 #BCB541 #41BC77
square
#4148BC #BC4186 #BCB541 #41BC77
split-complementary
#4148BC #BC7741 #86BC41
monochromatic
#222561 #31378F #4148BC #6E73CD #9B9FDC

Accessibility & contrast

On white

7.30
#4148BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#4148BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4148BC
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4148BC#FFFFFF#000000##FFFFFF
##4148BC1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#0051BA
Tritanopia (blue-blind)
#00657B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4148bc;
/* rgb */ color: rgb(65, 72, 188);
/* oklch */ color: oklch(46.8% 0.179 274.5);
Tailwind
colors: {
  custom: {
    50: '#847bd1',
    500: '#4148bc',
    950: '#000000',
  },
}
SCSS
$custom: #4148bc;
$custom-light: #847bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4148bc",
  "rgb": {
    "r": 65,
    "g": 72,
    "b": 188
  },
  "hsl": {
    "h": 236.585,
    "s": 48.617,
    "l": 49.608
  },
  "oklch": {
    "l": 0.46822,
    "c": 0.17925,
    "h": 274.5
  },
  "luminance": 0.09389
}

Semantic roles & 50–950 ramp

primary
#4148BC
secondary
#C9C590
accent
#D050D8
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #4148BC

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

Preview Lab → · Contrast checker → · Palette generator →

#4148BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva