#4154A3#4154A3

#4154A3 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.2% C 0.129 H 270.6°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#4154A3
RGBrgb(65, 84, 163)
HSLhsl(228, 43%, 45%)
HSVhsv(228, 60%, 64%)
CMYKcmyk(60.1%, 48.5%, 0%, 36.1%)
CIE-LABlab(38.04, 17.64, -45.09)
CIE-LCHlch(38.04, 48.41, 291.36°)
OKLaboklab(47.23% 0.0014 -0.1288)
OKLCHoklch(47.23% 0.129 270.6)
XYZxyz(11.9590, 10.1079, 35.9640)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4154A3 #A39041
analogous
#4185A3 #4154A3 #5F41A3
triadic
#4154A3 #A34154 #54A341
tetradic
#4154A3 #A34185 #A39041 #41A35F
square
#4154A3 #A34185 #A39041 #41A35F
split-complementary
#4154A3 #A35F41 #85A341
monochromatic
#1E274B #303D77 #4154A3 #6174C0 #8D9AD1

Accessibility & contrast

On white

6.95
#4154A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#4154A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4154A3
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4154A3#FFFFFF#000000##FFFFFF
##4154A31.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5EA6
Deuteranopia (green-blind)
#1D55A1
Tritanopia (blue-blind)
#006673
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4154a3;
/* rgb */ color: rgb(65, 84, 163);
/* oklch */ color: oklch(47.2% 0.129 270.6);
Tailwind
colors: {
  custom: {
    50: '#7e83bf',
    500: '#4154a3',
    950: '#000000',
  },
}
SCSS
$custom: #4154a3;
$custom-light: #7e83bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4154a3",
  "rgb": {
    "r": 65,
    "g": 84,
    "b": 163
  },
  "hsl": {
    "h": 228.367,
    "s": 42.982,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47234,
    "c": 0.12881,
    "h": 270.6
  },
  "luminance": 0.10109
}

Semantic roles & 50–950 ramp

primary
#4154A3
secondary
#BDB183
accent
#BA55D3
background
#F8F8FB
surface
#EFEFF7
border
#CACAD0
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #4154A3

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

Preview Lab → · Contrast checker → · Palette generator →

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