#4067AC#4067AC

#4067AC is a mid, moderate blue. Relative luminance 0.138; OKLCH L 51.9% C 0.118 H 261.0°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#4067AC
RGBrgb(64, 103, 172)
HSLhsl(218, 46%, 46%)
HSVhsv(218, 63%, 67%)
CMYKcmyk(62.8%, 40.1%, 0%, 32.5%)
CIE-LABlab(43.90, 8.42, -41.06)
CIE-LCHlch(43.90, 41.91, 281.59°)
OKLaboklab(51.9% -0.0185 -0.1167)
OKLCHoklch(51.9% 0.118 261)
XYZxyz(14.4084, 13.7677, 40.9199)
Luminance0.1377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4067AC #AC8540
analogous
#409DAC #4067AC #4F40AC
triadic
#4067AC #AC4067 #67AC40
tetradic
#4067AC #AC409D #AC8540 #40AC4F
square
#4067AC #AC409D #AC8540 #40AC4F
split-complementary
#4067AC #AC4F40 #9DAC40
monochromatic
#1F3253 #2F4C7F #4067AC #6487C5 #91AAD6

Accessibility & contrast

On white

5.59
#4067AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#4067AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4067AC
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4067AC#FFFFFF#000000##FFFFFF
##4067AC1.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496DAF
Deuteranopia (green-blind)
#3963AB
Tritanopia (blue-blind)
#007781
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4067ac;
/* rgb */ color: rgb(64, 103, 172);
/* oklch */ color: oklch(51.9% 0.118 261.0);
Tailwind
colors: {
  custom: {
    50: '#7f92c5',
    500: '#4067ac',
    950: '#000000',
  },
}
SCSS
$custom: #4067ac;
$custom-light: #7f92c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4067ac",
  "rgb": {
    "r": 64,
    "g": 103,
    "b": 172
  },
  "hsl": {
    "h": 218.333,
    "s": 45.763,
    "l": 46.275
  },
  "oklch": {
    "l": 0.51895,
    "c": 0.1182,
    "h": 261
  },
  "luminance": 0.13769
}

Semantic roles & 50–950 ramp

primary
#4067AC
secondary
#C1AC87
accent
#A652D5
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #4067AC

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

Preview Lab → · Contrast checker → · Palette generator →

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