#4134A5#4134A5

#4134A5 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.4% C 0.173 H 280.9°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#4134A5
RGBrgb(65, 52, 165)
HSLhsl(247, 52%, 43%)
HSVhsv(247, 68%, 65%)
CMYKcmyk(60.6%, 68.5%, 0%, 35.3%)
CIE-LABlab(30.15, 38.68, -59.08)
CIE-LCHlch(30.15, 70.61, 303.21°)
OKLaboklab(41.43% 0.0328 -0.1702)
OKLCHoklch(41.43% 0.173 280.9)
XYZxyz(10.1974, 6.2957, 36.2678)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4134A5 #98A534
analogous
#345FA5 #4134A5 #7A34A5
triadic
#4134A5 #A54134 #34A541
tetradic
#4134A5 #A5345F #98A534 #34A57A
square
#4134A5 #A5345F #98A534 #34A57A
split-complementary
#4134A5 #A57A34 #5FA534
monochromatic
#1C1748 #2F2576 #4134A5 #5D4FC7 #887DD6

Accessibility & contrast

On white

9.30
#4134A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#4134A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4134A5
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4134A5#FFFFFF#000000##FFFFFF
##4134A51.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA8
Deuteranopia (green-blind)
#0043A3
Tritanopia (blue-blind)
#005268
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4134a5;
/* rgb */ color: rgb(65, 52, 165);
/* oklch */ color: oklch(41.4% 0.173 280.9);
Tailwind
colors: {
  custom: {
    50: '#816dc1',
    500: '#4134a5',
    950: '#000000',
  },
}
SCSS
$custom: #4134a5;
$custom-light: #816dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#4134a5",
  "rgb": {
    "r": 65,
    "g": 52,
    "b": 165
  },
  "hsl": {
    "h": 246.903,
    "s": 52.074,
    "l": 42.549
  },
  "oklch": {
    "l": 0.41428,
    "c": 0.17329,
    "h": 280.9
  },
  "luminance": 0.06296
}

Semantic roles & 50–950 ramp

primary
#4134A5
secondary
#B7BF76
accent
#DC4CCB
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #4134A5

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

Preview Lab → · Contrast checker → · Palette generator →

#4134A5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva