#4148CF#4148CF

#4148CF is a mid, highly saturated blue. Relative luminance 0.103; OKLCH L 48.5% C 0.204 H 273.6°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#4148CF
RGBrgb(65, 72, 207)
HSLhsl(237, 60%, 53%)
HSVhsv(237, 69%, 81%)
CMYKcmyk(68.6%, 65.2%, 0%, 18.8%)
CIE-LABlab(38.31, 40.58, -70.49)
CIE-LCHlch(38.31, 81.33, 299.93°)
OKLaboklab(48.48% 0.0128 -0.2036)
OKLCHoklch(48.48% 0.204 273.6)
XYZxyz(15.7561, 10.2621, 60.1698)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4148CF #CFC841
analogous
#418FCF #4148CF #8141CF
triadic
#4148CF #CF4148 #48CF41
tetradic
#4148CF #CF418F #CFC841 #41CF81
square
#4148CF #CF418F #CFC841 #41CF81
split-complementary
#4148CF #CF8141 #8FCF41
monochromatic
#1E2377 #2B31A8 #4148CF #7277DB #A3A6E8

Accessibility & contrast

On white

6.88
#4148CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#4148CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4148CF
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4148CF#FFFFFF#000000##FFFFFF
##4148CF1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D3
Deuteranopia (green-blind)
#0054CC
Tritanopia (blue-blind)
#006B85
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4148cf;
/* rgb */ color: rgb(65, 72, 207);
/* oklch */ color: oklch(48.5% 0.204 273.6);
Tailwind
colors: {
  custom: {
    50: '#887bdf',
    500: '#4148cf',
    950: '#000000',
  },
}
SCSS
$custom: #4148cf;
$custom-light: #887bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#4148cf",
  "rgb": {
    "r": 65,
    "g": 72,
    "b": 207
  },
  "hsl": {
    "h": 237.042,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.48476,
    "c": 0.20396,
    "h": 273.6
  },
  "luminance": 0.10264
}

Semantic roles & 50–950 ramp

primary
#4148CF
secondary
#D4D197
accent
#DB45E3
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4148CF

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

Preview Lab → · Contrast checker → · Palette generator →

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