#4148BF#4148BF

#4148BF is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.1% C 0.183 H 274.3°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#4148BF
RGBrgb(65, 72, 191)
HSLhsl(237, 50%, 50%)
HSVhsv(237, 66%, 75%)
CMYKcmyk(66%, 62.3%, 0%, 25.1%)
CIE-LABlab(36.96, 35.12, -63.38)
CIE-LCHlch(36.96, 72.46, 298.99°)
OKLaboklab(47.08% 0.0138 -0.1827)
OKLCHoklch(47.08% 0.183 274.3)
XYZxyz(13.8982, 9.5189, 50.3850)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4148BF #BFB841
analogous
#4187BF #4148BF #7941BF
triadic
#4148BF #BF4148 #48BF41
tetradic
#4148BF #BF4187 #BFB841 #41BF79
square
#4148BF #BF4187 #BFB841 #41BF79
split-complementary
#4148BF #BF7941 #87BF41
monochromatic
#222564 #313692 #4148BF #6F74CE #9DA0DE

Accessibility & contrast

On white

7.23
#4148BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#4148BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4148BF
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4148BF#FFFFFF#000000##FFFFFF
##4148BF1.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC3
Deuteranopia (green-blind)
#0051BD
Tritanopia (blue-blind)
#00667D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4148bf;
/* rgb */ color: rgb(65, 72, 191);
/* oklch */ color: oklch(47.1% 0.183 274.3);
Tailwind
colors: {
  custom: {
    50: '#847bd3',
    500: '#4148bf',
    950: '#000000',
  },
}
SCSS
$custom: #4148bf;
$custom-light: #847bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#4148bf",
  "rgb": {
    "r": 65,
    "g": 72,
    "b": 191
  },
  "hsl": {
    "h": 236.667,
    "s": 49.606,
    "l": 50.196
  },
  "oklch": {
    "l": 0.47077,
    "c": 0.18323,
    "h": 274.3
  },
  "luminance": 0.0952
}

Semantic roles & 50–950 ramp

primary
#4148BF
secondary
#CAC792
accent
#D14FD9
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #4148BF

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

Preview Lab → · Contrast checker → · Palette generator →

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