#4159AF#4159AF

#4159AF is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.1% C 0.140 H 269.0°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#4159AF
RGBrgb(65, 89, 175)
HSLhsl(227, 46%, 47%)
HSVhsv(227, 63%, 69%)
CMYKcmyk(62.9%, 49.1%, 0%, 31.4%)
CIE-LABlab(40.18, 18.62, -48.75)
CIE-LCHlch(40.18, 52.19, 290.90°)
OKLaboklab(49.12% -0.0023 -0.1395)
OKLCHoklch(49.12% 0.14 269)
XYZxyz(13.4876, 11.3626, 42.0315)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4159AF #AF9741
analogous
#4190AF #4159AF #6041AF
triadic
#4159AF #AF4159 #59AF41
tetradic
#4159AF #AF4190 #AF9741 #41AF60
square
#4159AF #AF4190 #AF9741 #41AF60
split-complementary
#4159AF #AF6041 #90AF41
monochromatic
#202C56 #304282 #4159AF #677CC6 #93A2D7

Accessibility & contrast

On white

6.42
#4159AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#4159AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4159AF
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4159AF#FFFFFF#000000##FFFFFF
##4159AF1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C64B2
Deuteranopia (green-blind)
#155AAD
Tritanopia (blue-blind)
#006D7B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4159af;
/* rgb */ color: rgb(65, 89, 175);
/* oklch */ color: oklch(49.1% 0.140 269.0);
Tailwind
colors: {
  custom: {
    50: '#8087c7',
    500: '#4159af',
    950: '#000000',
  },
}
SCSS
$custom: #4159af;
$custom-light: #8087c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4159af",
  "rgb": {
    "r": 65,
    "g": 89,
    "b": 175
  },
  "hsl": {
    "h": 226.909,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49117,
    "c": 0.13954,
    "h": 269
  },
  "luminance": 0.11364
}

Semantic roles & 50–950 ramp

primary
#4159AF
secondary
#C2B689
accent
#B952D5
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #4159AF

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

Preview Lab → · Contrast checker → · Palette generator →

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