#4061AA#4061AA

#4061AA is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.4% C 0.123 H 264.2°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#4061AA
RGBrgb(64, 97, 170)
HSLhsl(221, 45%, 46%)
HSVhsv(221, 62%, 67%)
CMYKcmyk(62.4%, 42.9%, 0%, 33.3%)
CIE-LABlab(42.06, 11.52, -42.80)
CIE-LCHlch(42.06, 44.32, 285.06°)
OKLaboklab(50.44% -0.0124 -0.1219)
OKLCHoklch(50.44% 0.123 264.2)
XYZxyz(13.6422, 12.5405, 39.7240)
Luminance0.1254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4061AA #AA8940
analogous
#4096AA #4061AA #5440AA
triadic
#4061AA #AA4061 #61AA40
tetradic
#4061AA #AA4096 #AA8940 #40AA54
square
#4061AA #AA4096 #AA8940 #40AA54
split-complementary
#4061AA #AA5440 #96AA40
monochromatic
#1F2E51 #2F487E #4061AA #6381C4 #8FA5D5

Accessibility & contrast

On white

5.99
#4061AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#4061AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4061AA#FFFFFF#000000##FFFFFF
##4061AA1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4068AD
Deuteranopia (green-blind)
#305FA8
Tritanopia (blue-blind)
#00717D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4061aa;
/* rgb */ color: rgb(64, 97, 170);
/* oklch */ color: oklch(50.4% 0.123 264.2);
Tailwind
colors: {
  custom: {
    50: '#7f8dc4',
    500: '#4061aa',
    950: '#000000',
  },
}
SCSS
$custom: #4061aa;
$custom-light: #7f8dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#4061aa",
  "rgb": {
    "r": 64,
    "g": 97,
    "b": 170
  },
  "hsl": {
    "h": 221.321,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.5044,
    "c": 0.12257,
    "h": 264.2
  },
  "luminance": 0.12542
}

Semantic roles & 50–950 ramp

primary
#4061AA
secondary
#C0AE86
accent
#AC53D5
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C12
muted
#7C7D81

Preview Lab

Preview with #4061AA

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

Preview Lab → · Contrast checker → · Palette generator →

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