#4061BD#4061BD

#4061BD is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.7% C 0.149 H 266.4°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#4061BD
RGBrgb(64, 97, 189)
HSLhsl(224, 49%, 50%)
HSVhsv(224, 66%, 74%)
CMYKcmyk(66.1%, 48.7%, 0%, 25.9%)
CIE-LABlab(43.23, 18.29, -52.06)
CIE-LCHlch(43.23, 55.18, 289.36°)
OKLaboklab(51.71% -0.0094 -0.1491)
OKLCHoklch(51.71% 0.149 266.4)
XYZxyz(15.5712, 13.3120, 49.8831)
Luminance0.1331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4061BD #BD9C40
analogous
#40A0BD #4061BD #5E40BD
triadic
#4061BD #BD4061 #61BD40
tetradic
#4061BD #BD40A0 #BD9C40 #40BD5E
square
#4061BD #BD40A0 #BD9C40 #40BD5E
split-complementary
#4061BD #BD5E40 #A0BD40
monochromatic
#213262 #314A8F #4061BD #6D86CD #9AACDD

Accessibility & contrast

On white

5.73
#4061BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#4061BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4061BD
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4061BD#FFFFFF#000000##FFFFFF
##4061BD1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306CC0
Deuteranopia (green-blind)
#1161BB
Tritanopia (blue-blind)
#007686
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4061bd;
/* rgb */ color: rgb(64, 97, 189);
/* oklch */ color: oklch(51.7% 0.149 266.4);
Tailwind
colors: {
  custom: {
    50: '#828dd1',
    500: '#4061bd',
    950: '#000000',
  },
}
SCSS
$custom: #4061bd;
$custom-light: #828dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4061bd",
  "rgb": {
    "r": 64,
    "g": 97,
    "b": 189
  },
  "hsl": {
    "h": 224.16,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.51711,
    "c": 0.14945,
    "h": 266.4
  },
  "luminance": 0.13314
}

Semantic roles & 50–950 ramp

primary
#4061BD
secondary
#C9BA90
accent
#B44FD9
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82

Preview Lab

Preview with #4061BD

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

Preview Lab → · Contrast checker → · Palette generator →

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