#4134B2#4134B2

#4134B2 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.6% C 0.190 H 279.3°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#4134B2
RGBrgb(65, 52, 178)
HSLhsl(246, 55%, 45%)
HSVhsv(246, 71%, 70%)
CMYKcmyk(63.5%, 70.8%, 0%, 30.2%)
CIE-LABlab(31.33, 42.86, -64.92)
CIE-LCHlch(31.33, 77.80, 303.43°)
OKLaboklab(42.64% 0.0307 -0.1873)
OKLCHoklch(42.64% 0.19 279.3)
XYZxyz(11.4413, 6.7933, 42.8192)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4134B2 #A5B234
analogous
#3466B2 #4134B2 #8034B2
triadic
#4134B2 #B24134 #34B241
tetradic
#4134B2 #B23466 #A5B234 #34B280
square
#4134B2 #B23466 #A5B234 #34B280
split-complementary
#4134B2 #B28034 #66B234
monochromatic
#1E1853 #302683 #4134B2 #6256CE #8E85DB

Accessibility & contrast

On white

8.90
#4134B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#4134B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4134B2
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4134B2#FFFFFF#000000##FFFFFF
##4134B21.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB6
Deuteranopia (green-blind)
#0045B0
Tritanopia (blue-blind)
#00566F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4134b2;
/* rgb */ color: rgb(65, 52, 178);
/* oklch */ color: oklch(42.6% 0.190 279.3);
Tailwind
colors: {
  custom: {
    50: '#836dca',
    500: '#4134b2',
    950: '#000000',
  },
}
SCSS
$custom: #4134b2;
$custom-light: #836dca;
$custom-dark: #000000;
JSON
{
  "hex": "#4134b2",
  "rgb": {
    "r": 65,
    "g": 52,
    "b": 178
  },
  "hsl": {
    "h": 246.19,
    "s": 54.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.42641,
    "c": 0.18978,
    "h": 279.3
  },
  "luminance": 0.06794
}

Semantic roles & 50–950 ramp

primary
#4134B2
secondary
#BEC57D
accent
#DE4ACF
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4134B2

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

Preview Lab → · Contrast checker → · Palette generator →

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