#4168CA#4168CA

#4168CA is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.1% C 0.158 H 265.2°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#4168CA
RGBrgb(65, 104, 202)
HSLhsl(223, 56%, 52%)
HSVhsv(223, 68%, 79%)
CMYKcmyk(67.8%, 48.5%, 0%, 20.8%)
CIE-LABlab(46.02, 18.65, -55.07)
CIE-LCHlch(46.02, 58.15, 288.71°)
OKLaboklab(54.12% -0.0133 -0.1579)
OKLCHoklch(54.12% 0.158 265.2)
XYZxyz(17.7872, 15.2870, 57.8789)
Luminance0.1529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4168CA #CAA341
analogous
#41ACCA #4168CA #5F41CA
triadic
#4168CA #CA4168 #68CA41
tetradic
#4168CA #CA41AC #CAA341 #41CA5F
square
#4168CA #CA41AC #CAA341 #41CA5F
split-complementary
#4168CA #CA5F41 #ACCA41
monochromatic
#203771 #2D4EA1 #4168CA #718ED7 #A1B4E5

Accessibility & contrast

On white

5.18
#4168CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#4168CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4168CA
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4168CA#FFFFFF#000000##FFFFFF
##4168CA1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3374CE
Deuteranopia (green-blind)
#0D67C8
Tritanopia (blue-blind)
#007F8F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4168ca;
/* rgb */ color: rgb(65, 104, 202);
/* oklch */ color: oklch(54.1% 0.158 265.2);
Tailwind
colors: {
  custom: {
    50: '#8592db',
    500: '#4168ca',
    950: '#000000',
  },
}
SCSS
$custom: #4168ca;
$custom-light: #8592db;
$custom-dark: #000000;
JSON
{
  "hex": "#4168ca",
  "rgb": {
    "r": 65,
    "g": 104,
    "b": 202
  },
  "hsl": {
    "h": 222.92,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.54124,
    "c": 0.15845,
    "h": 265.2
  },
  "luminance": 0.15289
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4168CA

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

Preview Lab → · Contrast checker → · Palette generator →

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