#4148BE#4148BE

#4148BE is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.0% C 0.182 H 274.4°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#4148BE
RGBrgb(65, 72, 190)
HSLhsl(237, 49%, 50%)
HSVhsv(237, 66%, 75%)
CMYKcmyk(65.8%, 62.1%, 0%, 25.5%)
CIE-LABlab(36.88, 34.78, -62.92)
CIE-LCHlch(36.88, 71.89, 298.93°)
OKLaboklab(46.99% 0.0139 -0.1814)
OKLCHoklch(46.99% 0.182 274.4)
XYZxyz(13.7885, 9.4750, 49.8074)
Luminance0.0948 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4148BE #BEB741
analogous
#4187BE #4148BE #7841BE
triadic
#4148BE #BE4148 #48BE41
tetradic
#4148BE #BE4187 #BEB741 #41BE78
square
#4148BE #BE4187 #BEB741 #41BE78
split-complementary
#4148BE #BE7841 #87BE41
monochromatic
#222563 #313790 #4148BE #6F74CE #9CA0DD

Accessibility & contrast

On white

7.25
#4148BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4148BE
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4148BE#FFFFFF#000000##FFFFFF
##4148BE1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC2
Deuteranopia (green-blind)
#0051BC
Tritanopia (blue-blind)
#00667C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4148be;
/* rgb */ color: rgb(65, 72, 190);
/* oklch */ color: oklch(47.0% 0.182 274.4);
Tailwind
colors: {
  custom: {
    50: '#847bd3',
    500: '#4148be',
    950: '#000000',
  },
}
SCSS
$custom: #4148be;
$custom-light: #847bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#4148be",
  "rgb": {
    "r": 65,
    "g": 72,
    "b": 190
  },
  "hsl": {
    "h": 236.64,
    "s": 49.02,
    "l": 50
  },
  "oklch": {
    "l": 0.46991,
    "c": 0.18191,
    "h": 274.4
  },
  "luminance": 0.09476
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4148BE

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

Preview Lab → · Contrast checker → · Palette generator →

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