#4159BC#4159BC

#4159BC is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.1% C 0.158 H 269.6°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#4159BC
RGBrgb(65, 89, 188)
HSLhsl(228, 49%, 50%)
HSVhsv(228, 65%, 74%)
CMYKcmyk(65.4%, 52.7%, 0%, 26.3%)
CIE-LABlab(41.05, 23.23, -54.98)
CIE-LCHlch(41.05, 59.69, 292.91°)
OKLaboklab(50.05% -0.001 -0.1578)
OKLCHoklch(50.05% 0.158 269.6)
XYZxyz(14.8264, 11.8981, 49.0824)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4159BC #BCA441
analogous
#4197BC #4159BC #6741BC
triadic
#4159BC #BC4159 #59BC41
tetradic
#4159BC #BC4197 #BCA441 #41BC67
square
#4159BC #BC4197 #BCA441 #41BC67
split-complementary
#4159BC #BC6741 #97BC41
monochromatic
#222E61 #31438F #4159BC #6E80CD #9BA8DC

Accessibility & contrast

On white

6.21
#4159BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#4159BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4159BC
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4159BC#FFFFFF#000000##FFFFFF
##4159BC1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A67BF
Deuteranopia (green-blind)
#005CBA
Tritanopia (blue-blind)
#007082
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4159bc;
/* rgb */ color: rgb(65, 89, 188);
/* oklch */ color: oklch(50.1% 0.158 269.6);
Tailwind
colors: {
  custom: {
    50: '#8387d1',
    500: '#4159bc',
    950: '#000000',
  },
}
SCSS
$custom: #4159bc;
$custom-light: #8387d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4159bc",
  "rgb": {
    "r": 65,
    "g": 89,
    "b": 188
  },
  "hsl": {
    "h": 228.293,
    "s": 48.617,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50053,
    "c": 0.15784,
    "h": 269.6
  },
  "luminance": 0.11899
}

Semantic roles & 50–950 ramp

primary
#4159BC
secondary
#C9BE90
accent
#BE50D8
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4159BC

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

Preview Lab → · Contrast checker → · Palette generator →

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