#4159A2#4159A2

#4159A2 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.2% C 0.121 H 268.0°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#4159A2
RGBrgb(65, 89, 162)
HSLhsl(225, 43%, 45%)
HSVhsv(225, 60%, 64%)
CMYKcmyk(59.9%, 45.1%, 0%, 36.5%)
CIE-LABlab(39.37, 14.04, -42.35)
CIE-LCHlch(39.37, 44.62, 288.34°)
OKLaboklab(48.23% -0.0042 -0.1207)
OKLCHoklch(48.23% 0.121 268)
XYZxyz(12.2717, 10.8762, 35.6280)
Luminance0.1088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4159A2 #A28A41
analogous
#4189A2 #4159A2 #5A41A2
triadic
#4159A2 #A24159 #59A241
tetradic
#4159A2 #A24189 #A28A41 #41A25A
square
#4159A2 #A24189 #A28A41 #41A25A
split-complementary
#4159A2 #A25A41 #89A241
monochromatic
#1E294B #2F4176 #4159A2 #6178BF #8C9DD1

Accessibility & contrast

On white

6.61
#4159A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#4159A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4159A2
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4159A2#FFFFFF#000000##FFFFFF
##4159A21.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3861A5
Deuteranopia (green-blind)
#2A59A0
Tritanopia (blue-blind)
#006975
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4159a2;
/* rgb */ color: rgb(65, 89, 162);
/* oklch */ color: oklch(48.2% 0.121 268.0);
Tailwind
colors: {
  custom: {
    50: '#7e87be',
    500: '#4159a2',
    950: '#000000',
  },
}
SCSS
$custom: #4159a2;
$custom-light: #7e87be;
$custom-dark: #000000;
JSON
{
  "hex": "#4159a2",
  "rgb": {
    "r": 65,
    "g": 89,
    "b": 162
  },
  "hsl": {
    "h": 225.155,
    "s": 42.731,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48234,
    "c": 0.12077,
    "h": 268
  },
  "luminance": 0.10877
}

Semantic roles & 50–950 ramp

primary
#4159A2
secondary
#BCAE83
accent
#B455D3
background
#F8F8FB
surface
#EFEFF7
border
#CACAD0
text
#0B0B12
muted
#7C7C81

Preview Lab

Preview with #4159A2

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

Preview Lab → · Contrast checker → · Palette generator →

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