#4168C7#4168C7

#4168C7 is a mid, vivid blue. Relative luminance 0.151; OKLCH L 53.9% C 0.154 H 264.9°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#4168C7
RGBrgb(65, 104, 199)
HSLhsl(223, 54%, 52%)
HSVhsv(223, 67%, 78%)
CMYKcmyk(67.3%, 47.7%, 0%, 22%)
CIE-LABlab(45.83, 17.57, -53.66)
CIE-LCHlch(45.83, 56.46, 288.13°)
OKLaboklab(53.92% -0.0137 -0.1537)
OKLCHoklch(53.92% 0.154 264.9)
XYZxyz(17.4355, 15.1463, 56.0264)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4168C7 #C7A041
analogous
#41ABC7 #4168C7 #5D41C7
triadic
#4168C7 #C74168 #68C741
tetradic
#4168C7 #C741AB #C7A041 #41C75D
square
#4168C7 #C741AB #C7A041 #41C75D
split-complementary
#4168C7 #C75D41 #ABC741
monochromatic
#20376D #2E4E9D #4168C7 #708ED5 #A0B3E3

Accessibility & contrast

On white

5.21
#4168C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#4168C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4168C7
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4168C7#FFFFFF#000000##FFFFFF
##4168C71.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3673CB
Deuteranopia (green-blind)
#1767C5
Tritanopia (blue-blind)
#007E8E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4168c7;
/* rgb */ color: rgb(65, 104, 199);
/* oklch */ color: oklch(53.9% 0.154 264.9);
Tailwind
colors: {
  custom: {
    50: '#8492d9',
    500: '#4168c7',
    950: '#000000',
  },
}
SCSS
$custom: #4168c7;
$custom-light: #8492d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4168c7",
  "rgb": {
    "r": 65,
    "g": 104,
    "b": 199
  },
  "hsl": {
    "h": 222.537,
    "s": 54.472,
    "l": 51.765
  },
  "oklch": {
    "l": 0.53917,
    "c": 0.15433,
    "h": 264.9
  },
  "luminance": 0.15148
}

Semantic roles & 50–950 ramp

primary
#4168C7
secondary
#CFBE95
accent
#B34ADE
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0D15
muted
#7D7D83

Preview Lab

Preview with #4168C7

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

Preview Lab → · Contrast checker → · Palette generator →

#4168C7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva