#4061AF#4061AF

#4061AF is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.8% C 0.130 H 264.9°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#4061AF
RGBrgb(64, 97, 175)
HSLhsl(222, 46%, 47%)
HSVhsv(222, 63%, 69%)
CMYKcmyk(63.4%, 44.6%, 0%, 31.4%)
CIE-LABlab(42.36, 13.29, -45.27)
CIE-LCHlch(42.36, 47.18, 286.36°)
OKLaboklab(50.76% -0.0115 -0.1292)
OKLCHoklch(50.76% 0.13 264.9)
XYZxyz(14.1242, 12.7333, 42.2626)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4061AF #AF8E40
analogous
#4099AF #4061AF #5640AF
triadic
#4061AF #AF4061 #61AF40
tetradic
#4061AF #AF4099 #AF8E40 #40AF56
square
#4061AF #AF4099 #AF8E40 #40AF56
split-complementary
#4061AF #AF5640 #99AF40
monochromatic
#1F2F55 #304882 #4061AF #6582C7 #92A7D7

Accessibility & contrast

On white

5.92
#4061AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#4061AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4061AF#FFFFFF#000000##FFFFFF
##4061AF1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C69B2
Deuteranopia (green-blind)
#2B5FAD
Tritanopia (blue-blind)
#00737F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4061af;
/* rgb */ color: rgb(64, 97, 175);
/* oklch */ color: oklch(50.8% 0.130 264.9);
Tailwind
colors: {
  custom: {
    50: '#7f8dc7',
    500: '#4061af',
    950: '#000000',
  },
}
SCSS
$custom: #4061af;
$custom-light: #7f8dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#4061af",
  "rgb": {
    "r": 64,
    "g": 97,
    "b": 175
  },
  "hsl": {
    "h": 222.162,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.50764,
    "c": 0.12971,
    "h": 264.9
  },
  "luminance": 0.12735
}

Semantic roles & 50–950 ramp

primary
#4061AF
secondary
#C3B188
accent
#AF52D6
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #4061AF

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

Preview Lab → · Contrast checker → · Palette generator →

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