#4148AC#4148AC

#4148AC is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.5% C 0.158 H 275.2°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#4148AC
RGBrgb(65, 72, 172)
HSLhsl(236, 45%, 46%)
HSVhsv(236, 62%, 67%)
CMYKcmyk(62.2%, 58.1%, 0%, 32.5%)
CIE-LABlab(35.47, 28.56, -54.59)
CIE-LCHlch(35.47, 61.61, 297.62°)
OKLaboklab(45.51% 0.0143 -0.1569)
OKLCHoklch(45.51% 0.158 275.2)
XYZxyz(11.9413, 8.7361, 40.0787)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4148AC #ACA541
analogous
#417EAC #4148AC #7041AC
triadic
#4148AC #AC4148 #48AC41
tetradic
#4148AC #AC417E #ACA541 #41AC70
square
#4148AC #AC417E #ACA541 #41AC70
split-complementary
#4148AC #AC7041 #7EAC41
monochromatic
#1F2353 #303580 #4148AC #656CC5 #9296D6

Accessibility & contrast

On white

7.64
#4148AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#4148AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4148AC
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4148AC#FFFFFF#000000##FFFFFF
##4148AC1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AF
Deuteranopia (green-blind)
#004FAA
Tritanopia (blue-blind)
#006073
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4148ac;
/* rgb */ color: rgb(65, 72, 172);
/* oklch */ color: oklch(45.5% 0.158 275.2);
Tailwind
colors: {
  custom: {
    50: '#817bc5',
    500: '#4148ac',
    950: '#000000',
  },
}
SCSS
$custom: #4148ac;
$custom-light: #817bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#4148ac",
  "rgb": {
    "r": 65,
    "g": 72,
    "b": 172
  },
  "hsl": {
    "h": 236.075,
    "s": 45.148,
    "l": 46.471
  },
  "oklch": {
    "l": 0.45505,
    "c": 0.15754,
    "h": 275.2
  },
  "luminance": 0.08737
}

Semantic roles & 50–950 ramp

primary
#4148AC
secondary
#C1BD88
accent
#CC53D5
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #4148AC

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

Preview Lab → · Contrast checker → · Palette generator →

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