#413FBA#413FBA

#413FBA is a mid, vivid blue. Relative luminance 0.082; OKLCH L 45.1% C 0.187 H 276.5°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#413FBA
RGBrgb(65, 63, 186)
HSLhsl(241, 49%, 49%)
HSVhsv(241, 66%, 73%)
CMYKcmyk(65.1%, 66.1%, 0%, 27.1%)
CIE-LABlab(34.44, 38.98, -64.56)
CIE-LCHlch(34.44, 75.42, 301.12°)
OKLaboklab(45.1% 0.0213 -0.1862)
OKLCHoklch(45.1% 0.187 276.5)
XYZxyz(12.8175, 8.2229, 47.3566)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413FBA #B8BA3F
analogous
#3F7BBA #413FBA #7F3FBA
triadic
#413FBA #BA413F #3FBA41
tetradic
#413FBA #BA3F7B #B8BA3F #3FBA7F
square
#413FBA #BA3F7B #B8BA3F #3FBA7F
split-complementary
#413FBA #BA7F3F #7BBA3F
monochromatic
#21205F #31308C #413FBA #6B6ACC #9997DC

Accessibility & contrast

On white

7.94
#413FBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#413FBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413FBA
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413FBA#FFFFFF#000000##FFFFFF
##413FBA1.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BE
Deuteranopia (green-blind)
#004CB8
Tritanopia (blue-blind)
#005F77
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #413fba;
/* rgb */ color: rgb(65, 63, 186);
/* oklch */ color: oklch(45.1% 0.187 276.5);
Tailwind
colors: {
  custom: {
    50: '#8475d0',
    500: '#413fba',
    950: '#000000',
  },
}
SCSS
$custom: #413fba;
$custom-light: #8475d0;
$custom-dark: #000000;
JSON
{
  "hex": "#413fba",
  "rgb": {
    "r": 65,
    "g": 63,
    "b": 186
  },
  "hsl": {
    "h": 240.976,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.45104,
    "c": 0.18744,
    "h": 276.5
  },
  "luminance": 0.08224
}

Semantic roles & 50–950 ramp

primary
#413FBA
secondary
#C7C88D
accent
#D94FD7
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #413FBA

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

Preview Lab → · Contrast checker → · Palette generator →

#413FBA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva