#4154B3#4154B3

#4154B3 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.4% C 0.152 H 271.1°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#4154B3
RGBrgb(65, 84, 179)
HSLhsl(230, 47%, 48%)
HSVhsv(230, 64%, 70%)
CMYKcmyk(63.7%, 53.1%, 0%, 29.8%)
CIE-LABlab(39.10, 23.27, -52.86)
CIE-LCHlch(39.10, 57.75, 293.76°)
OKLaboklab(48.38% 0.003 -0.1517)
OKLCHoklch(48.38% 0.152 271.1)
XYZxyz(13.4842, 10.7180, 43.9973)
Luminance0.1072 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4154B3 #B3A041
analogous
#418DB3 #4154B3 #6741B3
triadic
#4154B3 #B34154 #54B341
tetradic
#4154B3 #B3418D #B3A041 #41B367
square
#4154B3 #B3418D #B3A041 #41B367
split-complementary
#4154B3 #B36741 #8DB341
monochromatic
#202A59 #313F86 #4154B3 #6979C8 #96A1D9

Accessibility & contrast

On white

6.68
#4154B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#4154B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4154B3
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4154B3#FFFFFF#000000##FFFFFF
##4154B31.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1861B6
Deuteranopia (green-blind)
#0057B1
Tritanopia (blue-blind)
#006A7B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4154b3;
/* rgb */ color: rgb(65, 84, 179);
/* oklch */ color: oklch(48.4% 0.152 271.1);
Tailwind
colors: {
  custom: {
    50: '#8183ca',
    500: '#4154b3',
    950: '#000000',
  },
}
SCSS
$custom: #4154b3;
$custom-light: #8183ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4154b3",
  "rgb": {
    "r": 65,
    "g": 84,
    "b": 179
  },
  "hsl": {
    "h": 230,
    "s": 46.721,
    "l": 47.843
  },
  "oklch": {
    "l": 0.48383,
    "c": 0.15169,
    "h": 271.1
  },
  "luminance": 0.10719
}

Semantic roles & 50–950 ramp

primary
#4154B3
secondary
#C4BB8B
accent
#C051D6
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #4154B3

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

Preview Lab → · Contrast checker → · Palette generator →

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