#4061D5#4061D5

#4061D5 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.5% C 0.182 H 267.8°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#4061D5
RGBrgb(64, 97, 213)
HSLhsl(227, 64%, 54%)
HSVhsv(227, 70%, 84%)
CMYKcmyk(70%, 54.5%, 0%, 16.5%)
CIE-LABlab(44.86, 26.89, -63.26)
CIE-LCHlch(44.86, 68.74, 293.03°)
OKLaboklab(53.47% -0.0071 -0.1821)
OKLCHoklch(53.47% 0.182 267.8)
XYZxyz(18.3951, 14.4416, 64.7560)
Luminance0.1444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4061D5 #D5B440
analogous
#40ACD5 #4061D5 #6A40D5
triadic
#4061D5 #D54061 #61D540
tetradic
#4061D5 #D540AC #D5B440 #40D56A
square
#4061D5 #D540AC #D5B440 #40D56A
split-complementary
#4061D5 #D56A40 #ACD540
monochromatic
#1C327F #2745B1 #4061D5 #728BE0 #A4B4EB

Accessibility & contrast

On white

5.40
#4061D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#4061D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4061D5
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4061D5#FFFFFF#000000##FFFFFF
##4061D51.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071D9
Deuteranopia (green-blind)
#0064D3
Tritanopia (blue-blind)
#007D91
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4061d5;
/* rgb */ color: rgb(64, 97, 213);
/* oklch */ color: oklch(53.5% 0.182 267.8);
Tailwind
colors: {
  custom: {
    50: '#878de3',
    500: '#4061d5',
    950: '#000000',
  },
}
SCSS
$custom: #4061d5;
$custom-light: #878de3;
$custom-dark: #000000;
JSON
{
  "hex": "#4061d5",
  "rgb": {
    "r": 64,
    "g": 97,
    "b": 213
  },
  "hsl": {
    "h": 226.711,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.53465,
    "c": 0.18225,
    "h": 267.8
  },
  "luminance": 0.14443
}

Semantic roles & 50–950 ramp

primary
#4061D5
secondary
#D8CA99
accent
#C241E7
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C15
muted
#7E7D84

Preview Lab

Preview with #4061D5

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

Preview Lab → · Contrast checker → · Palette generator →

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