#4067BB#4067BB

#4067BB is a mid, vivid blue. Relative luminance 0.144; OKLCH L 52.8% C 0.139 H 263.6°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#4067BB
RGBrgb(64, 103, 187)
HSLhsl(221, 49%, 49%)
HSVhsv(221, 66%, 73%)
CMYKcmyk(65.8%, 44.9%, 0%, 26.7%)
CIE-LABlab(44.77, 13.75, -48.43)
CIE-LCHlch(44.77, 50.34, 285.85°)
OKLaboklab(52.85% -0.0155 -0.1384)
OKLCHoklch(52.85% 0.139 263.6)
XYZxyz(15.9311, 14.3768, 48.9395)
Luminance0.1438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4067BB #BB9440
analogous
#40A5BB #4067BB #5740BB
triadic
#4067BB #BB4067 #67BB40
tetradic
#4067BB #BB40A5 #BB9440 #40BB57
square
#4067BB #BB40A5 #BB9440 #40BB57
split-complementary
#4067BB #BB5740 #A5BB40
monochromatic
#213560 #304E8D #4067BB #6C8ACD #99AEDC

Accessibility & contrast

On white

5.42
#4067BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#4067BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4067BB
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4067BB#FFFFFF#000000##FFFFFF
##4067BB1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E70BE
Deuteranopia (green-blind)
#2965B9
Tritanopia (blue-blind)
#007A88
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4067bb;
/* rgb */ color: rgb(64, 103, 187);
/* oklch */ color: oklch(52.8% 0.139 263.6);
Tailwind
colors: {
  custom: {
    50: '#8191d0',
    500: '#4067bb',
    950: '#000000',
  },
}
SCSS
$custom: #4067bb;
$custom-light: #8191d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4067bb",
  "rgb": {
    "r": 64,
    "g": 103,
    "b": 187
  },
  "hsl": {
    "h": 220.976,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.52849,
    "c": 0.13925,
    "h": 263.6
  },
  "luminance": 0.14378
}

Semantic roles & 50–950 ramp

primary
#4067BB
secondary
#C8B68F
accent
#AD4FD9
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #4067BB

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

Preview Lab → · Contrast checker → · Palette generator →

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