#4061AC#4061AC

#4061AC is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.6% C 0.125 H 264.5°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#4061AC
RGBrgb(64, 97, 172)
HSLhsl(222, 46%, 46%)
HSVhsv(222, 63%, 67%)
CMYKcmyk(62.8%, 43.6%, 0%, 32.5%)
CIE-LABlab(42.18, 12.23, -43.79)
CIE-LCHlch(42.18, 45.47, 285.60°)
OKLaboklab(50.57% -0.0121 -0.1248)
OKLCHoklch(50.57% 0.125 264.5)
XYZxyz(13.8329, 12.6167, 40.7280)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4061AC #AC8B40
analogous
#4097AC #4061AC #5540AC
triadic
#4061AC #AC4061 #61AC40
tetradic
#4061AC #AC4097 #AC8B40 #40AC55
square
#4061AC #AC4097 #AC8B40 #40AC55
split-complementary
#4061AC #AC5540 #97AC40
monochromatic
#1F2F53 #2F487F #4061AC #6482C5 #91A6D6

Accessibility & contrast

On white

5.96
#4061AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#4061AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4061AC#FFFFFF#000000##FFFFFF
##4061AC1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F69AF
Deuteranopia (green-blind)
#2E5FAA
Tritanopia (blue-blind)
#00727E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4061ac;
/* rgb */ color: rgb(64, 97, 172);
/* oklch */ color: oklch(50.6% 0.125 264.5);
Tailwind
colors: {
  custom: {
    50: '#7f8dc5',
    500: '#4061ac',
    950: '#000000',
  },
}
SCSS
$custom: #4061ac;
$custom-light: #7f8dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#4061ac",
  "rgb": {
    "r": 64,
    "g": 97,
    "b": 172
  },
  "hsl": {
    "h": 221.667,
    "s": 45.763,
    "l": 46.275
  },
  "oklch": {
    "l": 0.50569,
    "c": 0.12543,
    "h": 264.5
  },
  "luminance": 0.12618
}

Semantic roles & 50–950 ramp

primary
#4061AC
secondary
#C1AF87
accent
#AD52D5
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #4061AC

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

Preview Lab → · Contrast checker → · Palette generator →

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