#4151B3#4151B3

#4151B3 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.8% C 0.156 H 272.2°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#4151B3
RGBrgb(65, 81, 179)
HSLhsl(232, 47%, 48%)
HSVhsv(232, 64%, 70%)
CMYKcmyk(63.7%, 54.7%, 0%, 29.8%)
CIE-LABlab(38.31, 25.21, -54.14)
CIE-LCHlch(38.31, 59.72, 294.97°)
OKLaboklab(47.79% 0.0059 -0.1555)
OKLCHoklch(47.79% 0.156 272.2)
XYZxyz(13.2564, 10.2622, 43.9213)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4151B3 #B3A341
analogous
#418AB3 #4151B3 #6A41B3
triadic
#4151B3 #B34151 #51B341
tetradic
#4151B3 #B3418A #B3A341 #41B36A
square
#4151B3 #B3418A #B3A341 #41B36A
split-complementary
#4151B3 #B36A41 #8AB341
monochromatic
#202859 #313D86 #4151B3 #6976C8 #969FD9

Accessibility & contrast

On white

6.88
#4151B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#4151B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4151B3
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4151B3#FFFFFF#000000##FFFFFF
##4151B31.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#085FB6
Deuteranopia (green-blind)
#0055B1
Tritanopia (blue-blind)
#00687A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4151b3;
/* rgb */ color: rgb(65, 81, 179);
/* oklch */ color: oklch(47.8% 0.156 272.2);
Tailwind
colors: {
  custom: {
    50: '#8181ca',
    500: '#4151b3',
    950: '#000000',
  },
}
SCSS
$custom: #4151b3;
$custom-light: #8181ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4151b3",
  "rgb": {
    "r": 65,
    "g": 81,
    "b": 179
  },
  "hsl": {
    "h": 231.579,
    "s": 46.721,
    "l": 47.843
  },
  "oklch": {
    "l": 0.47787,
    "c": 0.15558,
    "h": 272.2
  },
  "luminance": 0.10263
}

Semantic roles & 50–950 ramp

primary
#4151B3
secondary
#C4BC8B
accent
#C451D6
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #4151B3

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

Preview Lab → · Contrast checker → · Palette generator →

#4151B3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva