#4149AF#4149AF

#4149AF is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.9% C 0.160 H 274.8°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#4149AF
RGBrgb(65, 73, 175)
HSLhsl(236, 46%, 47%)
HSVhsv(236, 63%, 69%)
CMYKcmyk(62.9%, 58.3%, 0%, 31.4%)
CIE-LABlab(35.95, 28.96, -55.59)
CIE-LCHlch(35.95, 62.69, 297.52°)
OKLaboklab(45.93% 0.0133 -0.1598)
OKLCHoklch(45.93% 0.16 274.8)
XYZxyz(12.2978, 8.9830, 41.6350)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4149AF #AFA741
analogous
#4180AF #4149AF #7041AF
triadic
#4149AF #AF4149 #49AF41
tetradic
#4149AF #AF4180 #AFA741 #41AF70
square
#4149AF #AF4180 #AFA741 #41AF70
split-complementary
#4149AF #AF7041 #80AF41
monochromatic
#202456 #303682 #4149AF #676EC6 #9398D7

Accessibility & contrast

On white

7.51
#4149AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#4149AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4149AF
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4149AF#FFFFFF#000000##FFFFFF
##4149AF1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B2
Deuteranopia (green-blind)
#0050AD
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4149af;
/* rgb */ color: rgb(65, 73, 175);
/* oklch */ color: oklch(45.9% 0.160 274.8);
Tailwind
colors: {
  custom: {
    50: '#817bc8',
    500: '#4149af',
    950: '#000000',
  },
}
SCSS
$custom: #4149af;
$custom-light: #817bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#4149af",
  "rgb": {
    "r": 65,
    "g": 73,
    "b": 175
  },
  "hsl": {
    "h": 235.636,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45934,
    "c": 0.16038,
    "h": 274.8
  },
  "luminance": 0.08984
}

Semantic roles & 50–950 ramp

primary
#4149AF
secondary
#C2BE89
accent
#CC52D5
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #4149AF

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

Preview Lab → · Contrast checker → · Palette generator →

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