#4149CA#4149CA

#4149CA is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.2% C 0.196 H 273.6°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#4149CA
RGBrgb(65, 73, 202)
HSLhsl(236, 56%, 52%)
HSVhsv(236, 68%, 79%)
CMYKcmyk(67.8%, 63.9%, 0%, 20.8%)
CIE-LABlab(38.11, 38.27, -67.91)
CIE-LCHlch(38.11, 77.95, 299.40°)
OKLaboklab(48.2% 0.0124 -0.196)
OKLCHoklch(48.2% 0.196 273.6)
XYZxyz(15.2196, 10.1518, 57.0231)
Luminance0.1015 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4149CA #CAC241
analogous
#418ECA #4149CA #7D41CA
triadic
#4149CA #CA4149 #49CA41
tetradic
#4149CA #CA418E #CAC241 #41CA7D
square
#4149CA #CA418E #CAC241 #41CA7D
split-complementary
#4149CA #CA7D41 #8ECA41
monochromatic
#202471 #2D34A1 #4149CA #7177D7 #A1A5E5

Accessibility & contrast

On white

6.93
#4149CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#4149CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4149CA
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4149CA#FFFFFF#000000##FFFFFF
##4149CA1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CE
Deuteranopia (green-blind)
#0054C8
Tritanopia (blue-blind)
#006A83
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4149ca;
/* rgb */ color: rgb(65, 73, 202);
/* oklch */ color: oklch(48.2% 0.196 273.6);
Tailwind
colors: {
  custom: {
    50: '#877cdb',
    500: '#4149ca',
    950: '#000000',
  },
}
SCSS
$custom: #4149ca;
$custom-light: #877cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4149ca",
  "rgb": {
    "r": 65,
    "g": 73,
    "b": 202
  },
  "hsl": {
    "h": 236.496,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.48202,
    "c": 0.19639,
    "h": 273.6
  },
  "luminance": 0.10153
}

Semantic roles & 50–950 ramp

primary
#4149CA
secondary
#D1CE96
accent
#D748E0
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4149CA

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

Preview Lab → · Contrast checker → · Palette generator →

#4149CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva