#4061AE#4061AE

#4061AE is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.7% C 0.128 H 264.8°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#4061AE
RGBrgb(64, 97, 174)
HSLhsl(222, 46%, 47%)
HSVhsv(222, 63%, 68%)
CMYKcmyk(63.2%, 44.3%, 0%, 31.8%)
CIE-LABlab(42.30, 12.94, -44.78)
CIE-LCHlch(42.30, 46.61, 286.11°)
OKLaboklab(50.7% -0.0117 -0.1277)
OKLCHoklch(50.7% 0.128 264.8)
XYZxyz(14.0264, 12.6941, 41.7472)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4061AE #AE8D40
analogous
#4098AE #4061AE #5640AE
triadic
#4061AE #AE4061 #61AE40
tetradic
#4061AE #AE4098 #AE8D40 #40AE56
square
#4061AE #AE4098 #AE8D40 #40AE56
split-complementary
#4061AE #AE5640 #98AE40
monochromatic
#1F2F55 #304881 #4061AE #6582C6 #92A6D7

Accessibility & contrast

On white

5.93
#4061AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#4061AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4061AE#FFFFFF#000000##FFFFFF
##4061AE1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D69B1
Deuteranopia (green-blind)
#2C5FAC
Tritanopia (blue-blind)
#00727F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4061ae;
/* rgb */ color: rgb(64, 97, 174);
/* oklch */ color: oklch(50.7% 0.128 264.8);
Tailwind
colors: {
  custom: {
    50: '#7f8dc6',
    500: '#4061ae',
    950: '#000000',
  },
}
SCSS
$custom: #4061ae;
$custom-light: #7f8dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#4061ae",
  "rgb": {
    "r": 64,
    "g": 97,
    "b": 174
  },
  "hsl": {
    "h": 222,
    "s": 46.218,
    "l": 46.667
  },
  "oklch": {
    "l": 0.50699,
    "c": 0.12828,
    "h": 264.8
  },
  "luminance": 0.12695
}

Semantic roles & 50–950 ramp

primary
#4061AE
secondary
#C2B188
accent
#AE52D6
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #4061AE

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

Preview Lab → · Contrast checker → · Palette generator →

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