#4061BF#4061BF

#4061BF is a mid, vivid blue. Relative luminance 0.134; OKLCH L 51.9% C 0.152 H 266.6°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#4061BF
RGBrgb(64, 97, 191)
HSLhsl(224, 50%, 50%)
HSVhsv(224, 66%, 75%)
CMYKcmyk(66.5%, 49.2%, 0%, 25.1%)
CIE-LABlab(43.36, 19.00, -53.01)
CIE-LCHlch(43.36, 56.32, 289.72°)
OKLaboklab(51.85% -0.0091 -0.152)
OKLCHoklch(51.85% 0.152 266.6)
XYZxyz(15.7898, 13.3995, 51.0343)
Luminance0.1340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4061BF #BF9E40
analogous
#40A1BF #4061BF #5E40BF
triadic
#4061BF #BF4061 #61BF40
tetradic
#4061BF #BF40A1 #BF9E40 #40BF5E
square
#4061BF #BF40A1 #BF9E40 #40BF5E
split-complementary
#4061BF #BF5E40 #A1BF40
monochromatic
#213263 #314A91 #4061BF #6E87CE #9CADDE

Accessibility & contrast

On white

5.71
#4061BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#4061BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4061BF
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4061BF#FFFFFF#000000##FFFFFF
##4061BF1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6DC2
Deuteranopia (green-blind)
#0A61BD
Tritanopia (blue-blind)
#007787
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4061bf;
/* rgb */ color: rgb(64, 97, 191);
/* oklch */ color: oklch(51.9% 0.152 266.6);
Tailwind
colors: {
  custom: {
    50: '#828dd3',
    500: '#4061bf',
    950: '#000000',
  },
}
SCSS
$custom: #4061bf;
$custom-light: #828dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#4061bf",
  "rgb": {
    "r": 64,
    "g": 97,
    "b": 191
  },
  "hsl": {
    "h": 224.409,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.51851,
    "c": 0.15223,
    "h": 266.6
  },
  "luminance": 0.13401
}

Semantic roles & 50–950 ramp

primary
#4061BF
secondary
#CABB91
accent
#B54ED9
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4061BF

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

Preview Lab → · Contrast checker → · Palette generator →

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