#4061BB#4061BB

#4061BB is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.6% C 0.147 H 266.2°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#4061BB
RGBrgb(64, 97, 187)
HSLhsl(224, 49%, 49%)
HSVhsv(224, 66%, 73%)
CMYKcmyk(65.8%, 48.1%, 0%, 26.7%)
CIE-LABlab(43.10, 17.57, -51.10)
CIE-LCHlch(43.10, 54.04, 288.98°)
OKLaboklab(51.57% -0.0096 -0.1463)
OKLCHoklch(51.57% 0.147 266.2)
XYZxyz(15.3556, 13.2258, 48.7477)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4061BB #BB9A40
analogous
#409FBB #4061BB #5C40BB
triadic
#4061BB #BB4061 #61BB40
tetradic
#4061BB #BB409F #BB9A40 #40BB5C
square
#4061BB #BB409F #BB9A40 #40BB5C
split-complementary
#4061BB #BB5C40 #9FBB40
monochromatic
#213260 #30498D #4061BB #6C86CD #99ABDC

Accessibility & contrast

On white

5.76
#4061BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#4061BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4061BB
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4061BB#FFFFFF#000000##FFFFFF
##4061BB1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326CBE
Deuteranopia (green-blind)
#1761B9
Tritanopia (blue-blind)
#007685
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4061bb;
/* rgb */ color: rgb(64, 97, 187);
/* oklch */ color: oklch(51.6% 0.147 266.2);
Tailwind
colors: {
  custom: {
    50: '#828dd0',
    500: '#4061bb',
    950: '#000000',
  },
}
SCSS
$custom: #4061bb;
$custom-light: #828dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4061bb",
  "rgb": {
    "r": 64,
    "g": 97,
    "b": 187
  },
  "hsl": {
    "h": 223.902,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.51572,
    "c": 0.14665,
    "h": 266.2
  },
  "luminance": 0.13227
}

Semantic roles & 50–950 ramp

primary
#4061BB
secondary
#C8B98F
accent
#B44FD9
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #4061BB

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

Preview Lab → · Contrast checker → · Palette generator →

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