#4168BF#4168BF

#4168BF is a mid, vivid blue. Relative luminance 0.148; OKLCH L 53.4% C 0.143 H 264.0°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#4168BF
RGBrgb(65, 104, 191)
HSLhsl(221, 50%, 50%)
HSVhsv(221, 66%, 75%)
CMYKcmyk(66%, 45.5%, 0%, 25.1%)
CIE-LABlab(45.34, 14.71, -49.83)
CIE-LCHlch(45.34, 51.96, 286.45°)
OKLaboklab(53.38% -0.0149 -0.1425)
OKLCHoklch(53.38% 0.143 264)
XYZxyz(16.5310, 14.7845, 51.2626)
Luminance0.1479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4168BF #BF9841
analogous
#41A7BF #4168BF #5941BF
triadic
#4168BF #BF4168 #68BF41
tetradic
#4168BF #BF41A7 #BF9841 #41BF59
square
#4168BF #BF41A7 #BF9841 #41BF59
split-complementary
#4168BF #BF5941 #A7BF41
monochromatic
#223664 #314F92 #4168BF #6F8CCE #9DB1DE

Accessibility & contrast

On white

5.31
#4168BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#4168BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4168BF
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4168BF#FFFFFF#000000##FFFFFF
##4168BF1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D71C2
Deuteranopia (green-blind)
#2666BD
Tritanopia (blue-blind)
#007C8A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4168bf;
/* rgb */ color: rgb(65, 104, 191);
/* oklch */ color: oklch(53.4% 0.143 264.0);
Tailwind
colors: {
  custom: {
    50: '#8392d3',
    500: '#4168bf',
    950: '#000000',
  },
}
SCSS
$custom: #4168bf;
$custom-light: #8392d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4168bf",
  "rgb": {
    "r": 65,
    "g": 104,
    "b": 191
  },
  "hsl": {
    "h": 221.429,
    "s": 49.606,
    "l": 50.196
  },
  "oklch": {
    "l": 0.53377,
    "c": 0.14326,
    "h": 264
  },
  "luminance": 0.14786
}

Semantic roles & 50–950 ramp

primary
#4168BF
secondary
#CAB992
accent
#AE4FD9
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0D14
muted
#7D7D83

Preview Lab

Preview with #4168BF

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

Preview Lab → · Contrast checker → · Palette generator →

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