#4168CB#4168CB

#4168CB is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.2% C 0.160 H 265.3°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#4168CB
RGBrgb(65, 104, 203)
HSLhsl(223, 57%, 53%)
HSVhsv(223, 68%, 80%)
CMYKcmyk(68%, 48.8%, 0%, 20.4%)
CIE-LABlab(46.09, 19.01, -55.54)
CIE-LCHlch(46.09, 58.71, 288.89°)
OKLaboklab(54.19% -0.0132 -0.1593)
OKLCHoklch(54.19% 0.16 265.3)
XYZxyz(17.9060, 15.3345, 58.5045)
Luminance0.1534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4168CB #CBA441
analogous
#41ADCB #4168CB #5F41CB
triadic
#4168CB #CB4168 #68CB41
tetradic
#4168CB #CB41AD #CBA441 #41CB5F
square
#4168CB #CB41AD #CBA441 #41CB5F
split-complementary
#4168CB #CB5F41 #ADCB41
monochromatic
#1F3772 #2C4EA2 #4168CB #718ED8 #A1B4E5

Accessibility & contrast

On white

5.16
#4168CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#4168CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4168CB
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4168CB#FFFFFF#000000##FFFFFF
##4168CB1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3274CF
Deuteranopia (green-blind)
#0867C9
Tritanopia (blue-blind)
#007F90
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4168cb;
/* rgb */ color: rgb(65, 104, 203);
/* oklch */ color: oklch(54.2% 0.160 265.3);
Tailwind
colors: {
  custom: {
    50: '#8592db',
    500: '#4168cb',
    950: '#000000',
  },
}
SCSS
$custom: #4168cb;
$custom-light: #8592db;
$custom-dark: #000000;
JSON
{
  "hex": "#4168cb",
  "rgb": {
    "r": 65,
    "g": 104,
    "b": 203
  },
  "hsl": {
    "h": 223.043,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.54193,
    "c": 0.15983,
    "h": 265.3
  },
  "luminance": 0.15336
}

Semantic roles & 50–950 ramp

primary
#4168CB
secondary
#D2C196
accent
#B548E0
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0D15
muted
#7D7D83

Preview Lab

Preview with #4168CB

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

Preview Lab → · Contrast checker → · Palette generator →

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