#4165DB#4165DB

#4165DB is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.8% C 0.185 H 267.2°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#4165DB
RGBrgb(65, 101, 219)
HSLhsl(226, 68%, 56%)
HSVhsv(226, 70%, 86%)
CMYKcmyk(70.3%, 53.9%, 0%, 14.1%)
CIE-LABlab(46.37, 26.64, -64.23)
CIE-LCHlch(46.37, 69.54, 292.53°)
OKLaboklab(54.75% -0.0091 -0.1849)
OKLCHoklch(54.75% 0.185 267.2)
XYZxyz(19.6154, 15.5436, 68.9706)
Luminance0.1555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4165DB #DBB741
analogous
#41B2DB #4165DB #6A41DB
triadic
#4165DB #DB4165 #65DB41
tetradic
#4165DB #DB41B2 #DBB741 #41DB6A
square
#4165DB #DB41B2 #DBB741 #41DB6A
split-complementary
#4165DB #DB6A41 #B2DB41
monochromatic
#1A3388 #2347BB #4165DB #748FE5 #A8B8EE

Accessibility & contrast

On white

5.11
#4165DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#4165DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4165DB
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4165DB#FFFFFF#000000##FFFFFF
##4165DB1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075DF
Deuteranopia (green-blind)
#0067D9
Tritanopia (blue-blind)
#008296
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4165db;
/* rgb */ color: rgb(65, 101, 219);
/* oklch */ color: oklch(54.8% 0.185 267.2);
Tailwind
colors: {
  custom: {
    50: '#8890e7',
    500: '#4165db',
    950: '#000000',
  },
}
SCSS
$custom: #4165db;
$custom-light: #8890e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4165db",
  "rgb": {
    "r": 65,
    "g": 101,
    "b": 219
  },
  "hsl": {
    "h": 225.974,
    "s": 68.142,
    "l": 55.686
  },
  "oklch": {
    "l": 0.5475,
    "c": 0.1851,
    "h": 267.2
  },
  "luminance": 0.15546
}

Semantic roles & 50–950 ramp

primary
#4165DB
secondary
#DCCD9C
accent
#C23DEB
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4165DB

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

Preview Lab → · Contrast checker → · Palette generator →

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