#4061BC#4061BC

#4061BC is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.6% C 0.148 H 266.3°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#4061BC
RGBrgb(64, 97, 188)
HSLhsl(224, 49%, 49%)
HSVhsv(224, 66%, 74%)
CMYKcmyk(66%, 48.4%, 0%, 26.3%)
CIE-LABlab(43.17, 17.93, -51.58)
CIE-LCHlch(43.17, 54.61, 289.17°)
OKLaboklab(51.64% -0.0095 -0.1477)
OKLCHoklch(51.64% 0.148 266.3)
XYZxyz(15.4630, 13.2688, 49.3134)
Luminance0.1327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4061BC #BC9B40
analogous
#409FBC #4061BC #5D40BC
triadic
#4061BC #BC4061 #61BC40
tetradic
#4061BC #BC409F #BC9B40 #40BC5D
square
#4061BC #BC409F #BC9B40 #40BC5D
split-complementary
#4061BC #BC5D40 #9FBC40
monochromatic
#213261 #30498E #4061BC #6C86CD #9AACDD

Accessibility & contrast

On white

5.75
#4061BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4061BC
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4061BC#FFFFFF#000000##FFFFFF
##4061BC1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316CBF
Deuteranopia (green-blind)
#1461BA
Tritanopia (blue-blind)
#007685
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4061bc;
/* rgb */ color: rgb(64, 97, 188);
/* oklch */ color: oklch(51.6% 0.148 266.3);
Tailwind
colors: {
  custom: {
    50: '#828dd1',
    500: '#4061bc',
    950: '#000000',
  },
}
SCSS
$custom: #4061bc;
$custom-light: #828dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4061bc",
  "rgb": {
    "r": 64,
    "g": 97,
    "b": 188
  },
  "hsl": {
    "h": 224.032,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.51642,
    "c": 0.14805,
    "h": 266.3
  },
  "luminance": 0.1327
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4061BC

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

Preview Lab → · Contrast checker → · Palette generator →

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