#4061CD#4061CD

#4061CD is a mid, vivid blue. Relative luminance 0.140; OKLCH L 52.9% C 0.171 H 267.4°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#4061CD
RGBrgb(64, 97, 205)
HSLhsl(226, 59%, 53%)
HSVhsv(226, 69%, 80%)
CMYKcmyk(68.8%, 52.7%, 0%, 19.6%)
CIE-LABlab(44.30, 24.03, -59.59)
CIE-LCHlch(44.30, 64.25, 291.96°)
OKLaboklab(52.86% -0.0077 -0.1713)
OKLCHoklch(52.86% 0.171 267.4)
XYZxyz(17.4047, 14.0454, 59.5396)
Luminance0.1405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4061CD #CDAC40
analogous
#40A8CD #4061CD #6540CD
triadic
#4061CD #CD4061 #61CD40
tetradic
#4061CD #CD40A8 #CDAC40 #40CD65
square
#4061CD #CD40A8 #CDAC40 #40CD65
split-complementary
#4061CD #CD6540 #A8CD40
monochromatic
#1E3274 #2B48A5 #4061CD #7189DA #A1B1E6

Accessibility & contrast

On white

5.51
#4061CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#4061CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4061CD
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4061CD#FFFFFF#000000##FFFFFF
##4061CD1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#176FD1
Deuteranopia (green-blind)
#0063CB
Tritanopia (blue-blind)
#007B8D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4061cd;
/* rgb */ color: rgb(64, 97, 205);
/* oklch */ color: oklch(52.9% 0.171 267.4);
Tailwind
colors: {
  custom: {
    50: '#858ddd',
    500: '#4061cd',
    950: '#000000',
  },
}
SCSS
$custom: #4061cd;
$custom-light: #858ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#4061cd",
  "rgb": {
    "r": 64,
    "g": 97,
    "b": 205
  },
  "hsl": {
    "h": 225.957,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52863,
    "c": 0.17147,
    "h": 267.4
  },
  "luminance": 0.14047
}

Semantic roles & 50–950 ramp

primary
#4061CD
secondary
#D3C596
accent
#BD46E2
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4061CD

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

Preview Lab → · Contrast checker → · Palette generator →

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