#4159BA#4159BA

#4159BA is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.9% C 0.155 H 269.6°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#4159BA
RGBrgb(65, 89, 186)
HSLhsl(228, 48%, 49%)
HSVhsv(228, 65%, 73%)
CMYKcmyk(65.1%, 52.2%, 0%, 27.1%)
CIE-LABlab(40.92, 22.52, -54.04)
CIE-LCHlch(40.92, 58.54, 292.63°)
OKLaboklab(49.91% -0.0012 -0.1551)
OKLCHoklch(49.91% 0.155 269.6)
XYZxyz(14.6123, 11.8124, 47.9548)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4159BA #BAA241
analogous
#4196BA #4159BA #6641BA
triadic
#4159BA #BA4159 #59BA41
tetradic
#4159BA #BA4196 #BAA241 #41BA66
square
#4159BA #BA4196 #BAA241 #41BA66
split-complementary
#4159BA #BA6641 #96BA41
monochromatic
#212E5F #31438D #4159BA #6C7FCC #9AA7DC

Accessibility & contrast

On white

6.24
#4159BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#4159BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4159BA
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4159BA#FFFFFF#000000##FFFFFF
##4159BA1.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D66BD
Deuteranopia (green-blind)
#005BB8
Tritanopia (blue-blind)
#007081
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4159ba;
/* rgb */ color: rgb(65, 89, 186);
/* oklch */ color: oklch(49.9% 0.155 269.6);
Tailwind
colors: {
  custom: {
    50: '#8287cf',
    500: '#4159ba',
    950: '#000000',
  },
}
SCSS
$custom: #4159ba;
$custom-light: #8287cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4159ba",
  "rgb": {
    "r": 65,
    "g": 89,
    "b": 186
  },
  "hsl": {
    "h": 228.099,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.49906,
    "c": 0.15506,
    "h": 269.6
  },
  "luminance": 0.11814
}

Semantic roles & 50–950 ramp

primary
#4159BA
secondary
#C8BC8F
accent
#BD50D8
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4159BA

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

Preview Lab → · Contrast checker → · Palette generator →

#4159BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva