#4159B2#4159B2

#4159B2 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.3% C 0.144 H 269.2°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#4159B2
RGBrgb(65, 89, 178)
HSLhsl(227, 47%, 48%)
HSVhsv(227, 63%, 70%)
CMYKcmyk(63.5%, 50%, 0%, 30.2%)
CIE-LABlab(40.38, 19.68, -50.21)
CIE-LCHlch(40.38, 53.93, 291.41°)
OKLaboklab(49.33% -0.002 -0.1438)
OKLCHoklch(49.33% 0.144 269.2)
XYZxyz(13.7855, 11.4817, 43.6006)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4159B2 #B29A41
analogous
#4191B2 #4159B2 #6241B2
triadic
#4159B2 #B24159 #59B241
tetradic
#4159B2 #B24191 #B29A41 #41B262
square
#4159B2 #B24191 #B29A41 #41B262
split-complementary
#4159B2 #B26241 #91B241
monochromatic
#202C58 #314385 #4159B2 #687DC8 #95A3D8

Accessibility & contrast

On white

6.37
#4159B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#4159B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4159B2
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4159B2#FFFFFF#000000##FFFFFF
##4159B21.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2964B5
Deuteranopia (green-blind)
#0D5AB0
Tritanopia (blue-blind)
#006E7D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4159b2;
/* rgb */ color: rgb(65, 89, 178);
/* oklch */ color: oklch(49.3% 0.144 269.2);
Tailwind
colors: {
  custom: {
    50: '#8187ca',
    500: '#4159b2',
    950: '#000000',
  },
}
SCSS
$custom: #4159b2;
$custom-light: #8187ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4159b2",
  "rgb": {
    "r": 65,
    "g": 89,
    "b": 178
  },
  "hsl": {
    "h": 227.257,
    "s": 46.502,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49328,
    "c": 0.1438,
    "h": 269.2
  },
  "luminance": 0.11483
}

Semantic roles & 50–950 ramp

primary
#4159B2
secondary
#C4B88B
accent
#BA52D6
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #4159B2

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

Preview Lab → · Contrast checker → · Palette generator →

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