#4148CC#4148CC

#4148CC is a mid, highly saturated blue. Relative luminance 0.101; OKLCH L 48.2% C 0.200 H 273.7°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#4148CC
RGBrgb(65, 72, 204)
HSLhsl(237, 58%, 53%)
HSVhsv(237, 68%, 80%)
CMYKcmyk(68.1%, 64.7%, 0%, 20%)
CIE-LABlab(38.05, 39.56, -69.17)
CIE-LCHlch(38.05, 79.69, 299.77°)
OKLaboklab(48.21% 0.013 -0.1997)
OKLCHoklch(48.21% 0.2 273.7)
XYZxyz(15.3928, 10.1167, 58.2566)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4148CC #CCC541
analogous
#418ECC #4148CC #7F41CC
triadic
#4148CC #CC4148 #48CC41
tetradic
#4148CC #CC418E #CCC541 #41CC7F
square
#4148CC #CC418E #CCC541 #41CC7F
split-complementary
#4148CC #CC7F41 #8ECC41
monochromatic
#1F2374 #2C32A4 #4148CC #7176D9 #A1A5E6

Accessibility & contrast

On white

6.95
#4148CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#4148CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4148CC
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4148CC#FFFFFF#000000##FFFFFF
##4148CC1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D0
Deuteranopia (green-blind)
#0053C9
Tritanopia (blue-blind)
#006A83
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4148cc;
/* rgb */ color: rgb(65, 72, 204);
/* oklch */ color: oklch(48.2% 0.200 273.7);
Tailwind
colors: {
  custom: {
    50: '#877bdd',
    500: '#4148cc',
    950: '#000000',
  },
}
SCSS
$custom: #4148cc;
$custom-light: #877bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4148cc",
  "rgb": {
    "r": 65,
    "g": 72,
    "b": 204
  },
  "hsl": {
    "h": 236.978,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.48208,
    "c": 0.20013,
    "h": 273.7
  },
  "luminance": 0.10118
}

Semantic roles & 50–950 ramp

primary
#4148CC
secondary
#D3CF96
accent
#D947E1
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4148CC

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

Preview Lab → · Contrast checker → · Palette generator →

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