#4168CD#4168CD

#4168CD is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.3% C 0.163 H 265.4°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#4168CD
RGBrgb(65, 104, 205)
HSLhsl(223, 58%, 53%)
HSVhsv(223, 68%, 80%)
CMYKcmyk(68.3%, 49.3%, 0%, 19.6%)
CIE-LABlab(46.22, 19.72, -56.48)
CIE-LCHlch(46.22, 59.83, 289.25°)
OKLaboklab(54.33% -0.0129 -0.162)
OKLCHoklch(54.33% 0.163 265.4)
XYZxyz(18.1459, 15.4304, 59.7678)
Luminance0.1543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4168CD #CDA641
analogous
#41AECD #4168CD #6041CD
triadic
#4168CD #CD4168 #68CD41
tetradic
#4168CD #CD41AE #CDA641 #41CD60
square
#4168CD #CD41AE #CDA641 #41CD60
split-complementary
#4168CD #CD6041 #AECD41
monochromatic
#1F3775 #2C4DA5 #4168CD #718FDA #A2B5E6

Accessibility & contrast

On white

5.14
#4168CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#4168CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4168CD
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4168CD#FFFFFF#000000##FFFFFF
##4168CD1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F74D1
Deuteranopia (green-blind)
#0067CB
Tritanopia (blue-blind)
#008091
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4168cd;
/* rgb */ color: rgb(65, 104, 205);
/* oklch */ color: oklch(54.3% 0.163 265.4);
Tailwind
colors: {
  custom: {
    50: '#8592dd',
    500: '#4168cd',
    950: '#000000',
  },
}
SCSS
$custom: #4168cd;
$custom-light: #8592dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4168cd",
  "rgb": {
    "r": 65,
    "g": 104,
    "b": 205
  },
  "hsl": {
    "h": 223.286,
    "s": 58.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.54333,
    "c": 0.16256,
    "h": 265.4
  },
  "luminance": 0.15432
}

Semantic roles & 50–950 ramp

primary
#4168CD
secondary
#D3C297
accent
#B646E2
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0D15
muted
#7D7D83

Preview Lab

Preview with #4168CD

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

Preview Lab → · Contrast checker → · Palette generator →

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