#4061BE#4061BE

#4061BE is a mid, vivid blue. Relative luminance 0.134; OKLCH L 51.8% C 0.151 H 266.5°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#4061BE
RGBrgb(64, 97, 190)
HSLhsl(224, 50%, 50%)
HSVhsv(224, 66%, 75%)
CMYKcmyk(66.3%, 48.9%, 0%, 25.5%)
CIE-LABlab(43.29, 18.65, -52.54)
CIE-LCHlch(43.29, 55.75, 289.54°)
OKLaboklab(51.78% -0.0093 -0.1506)
OKLCHoklch(51.78% 0.151 266.5)
XYZxyz(15.6801, 13.3556, 50.4568)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4061BE #BE9D40
analogous
#40A0BE #4061BE #5E40BE
triadic
#4061BE #BE4061 #61BE40
tetradic
#4061BE #BE40A0 #BE9D40 #40BE5E
square
#4061BE #BE40A0 #BE9D40 #40BE5E
split-complementary
#4061BE #BE5E40 #A0BE40
monochromatic
#213262 #314A90 #4061BE #6D87CE #9BACDD

Accessibility & contrast

On white

5.72
#4061BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#4061BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4061BE
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4061BE#FFFFFF#000000##FFFFFF
##4061BE1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6CC1
Deuteranopia (green-blind)
#0E61BC
Tritanopia (blue-blind)
#007786
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4061be;
/* rgb */ color: rgb(64, 97, 190);
/* oklch */ color: oklch(51.8% 0.151 266.5);
Tailwind
colors: {
  custom: {
    50: '#828dd2',
    500: '#4061be',
    950: '#000000',
  },
}
SCSS
$custom: #4061be;
$custom-light: #828dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#4061be",
  "rgb": {
    "r": 64,
    "g": 97,
    "b": 190
  },
  "hsl": {
    "h": 224.286,
    "s": 49.606,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51781,
    "c": 0.15084,
    "h": 266.5
  },
  "luminance": 0.13357
}

Semantic roles & 50–950 ramp

primary
#4061BE
secondary
#C9BA90
accent
#B54FD9
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4061BE

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

Preview Lab → · Contrast checker → · Palette generator →

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