#4165BA#4165BA

#4165BA is a mid, vivid blue. Relative luminance 0.140; OKLCH L 52.4% C 0.140 H 264.7°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#4165BA
RGBrgb(65, 101, 186)
HSLhsl(222, 48%, 49%)
HSVhsv(222, 65%, 73%)
CMYKcmyk(65.1%, 45.7%, 0%, 27.1%)
CIE-LABlab(44.20, 14.83, -48.76)
CIE-LCHlch(44.20, 50.97, 286.92°)
OKLaboklab(52.4% -0.0128 -0.1394)
OKLCHoklch(52.4% 0.14 264.7)
XYZxyz(15.6935, 13.9749, 48.3152)
Luminance0.1398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4165BA #BA9641
analogous
#41A2BA #4165BA #5A41BA
triadic
#4165BA #BA4165 #65BA41
tetradic
#4165BA #BA41A2 #BA9641 #41BA5A
square
#4165BA #BA41A2 #BA9641 #41BA5A
split-complementary
#4165BA #BA5A41 #A2BA41
monochromatic
#21345F #314C8D #4165BA #6C89CC #9AADDC

Accessibility & contrast

On white

5.53
#4165BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#4165BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4165BA
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4165BA#FFFFFF#000000##FFFFFF
##4165BA1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6EBD
Deuteranopia (green-blind)
#2663B8
Tritanopia (blue-blind)
#007886
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4165ba;
/* rgb */ color: rgb(65, 101, 186);
/* oklch */ color: oklch(52.4% 0.140 264.7);
Tailwind
colors: {
  custom: {
    50: '#8290cf',
    500: '#4165ba',
    950: '#000000',
  },
}
SCSS
$custom: #4165ba;
$custom-light: #8290cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4165ba",
  "rgb": {
    "r": 65,
    "g": 101,
    "b": 186
  },
  "hsl": {
    "h": 222.149,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.52404,
    "c": 0.13996,
    "h": 264.7
  },
  "luminance": 0.13976
}

Semantic roles & 50–950 ramp

primary
#4165BA
secondary
#C8B78F
accent
#AF50D8
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #4165BA

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

Preview Lab → · Contrast checker → · Palette generator →

#4165BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva