#4149CB#4149CB

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

Color values

HEX#4149CB
RGBrgb(65, 73, 203)
HSLhsl(237, 57%, 53%)
HSVhsv(237, 68%, 80%)
CMYKcmyk(68%, 64%, 0%, 20.4%)
CIE-LABlab(38.20, 38.61, -68.35)
CIE-LCHlch(38.20, 78.50, 299.46°)
OKLaboklab(48.29% 0.0124 -0.1973)
OKLCHoklch(48.29% 0.198 273.6)
XYZxyz(15.3384, 10.1993, 57.6487)
Luminance0.1020 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4149CB #CBC341
analogous
#418ECB #4149CB #7E41CB
triadic
#4149CB #CB4149 #49CB41
tetradic
#4149CB #CB418E #CBC341 #41CB7E
square
#4149CB #CB418E #CBC341 #41CB7E
split-complementary
#4149CB #CB7E41 #8ECB41
monochromatic
#1F2472 #2C33A2 #4149CB #7177D8 #A1A5E5

Accessibility & contrast

On white

6.91
#4149CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#4149CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4149CB
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4149CB#FFFFFF#000000##FFFFFF
##4149CB1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CF
Deuteranopia (green-blind)
#0054C9
Tritanopia (blue-blind)
#006B83
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4149cb;
/* rgb */ color: rgb(65, 73, 203);
/* oklch */ color: oklch(48.3% 0.198 273.6);
Tailwind
colors: {
  custom: {
    50: '#877cdc',
    500: '#4149cb',
    950: '#000000',
  },
}
SCSS
$custom: #4149cb;
$custom-light: #877cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#4149cb",
  "rgb": {
    "r": 65,
    "g": 73,
    "b": 203
  },
  "hsl": {
    "h": 236.522,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.48289,
    "c": 0.19769,
    "h": 273.6
  },
  "luminance": 0.10201
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4149CB

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

Preview Lab → · Contrast checker → · Palette generator →

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