#4067BC#4067BC

#4067BC is a mid, vivid blue. Relative luminance 0.144; OKLCH L 52.9% C 0.141 H 263.7°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#4067BC
RGBrgb(64, 103, 188)
HSLhsl(221, 49%, 49%)
HSVhsv(221, 66%, 74%)
CMYKcmyk(66%, 45.2%, 0%, 26.3%)
CIE-LABlab(44.83, 14.10, -48.91)
CIE-LCHlch(44.83, 50.90, 286.09°)
OKLaboklab(52.92% -0.0153 -0.1398)
OKLCHoklch(52.92% 0.141 263.7)
XYZxyz(16.0385, 14.4198, 49.5053)
Luminance0.1442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4067BC #BC9540
analogous
#40A5BC #4067BC #5740BC
triadic
#4067BC #BC4067 #67BC40
tetradic
#4067BC #BC40A5 #BC9540 #40BC57
square
#4067BC #BC40A5 #BC9540 #40BC57
split-complementary
#4067BC #BC5740 #A5BC40
monochromatic
#213561 #304E8E #4067BC #6C8BCD #9AAFDD

Accessibility & contrast

On white

5.41
#4067BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4067BC
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4067BC#FFFFFF#000000##FFFFFF
##4067BC1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E70BF
Deuteranopia (green-blind)
#2865BA
Tritanopia (blue-blind)
#007B88
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4067bc;
/* rgb */ color: rgb(64, 103, 188);
/* oklch */ color: oklch(52.9% 0.141 263.7);
Tailwind
colors: {
  custom: {
    50: '#8291d1',
    500: '#4067bc',
    950: '#000000',
  },
}
SCSS
$custom: #4067bc;
$custom-light: #8291d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4067bc",
  "rgb": {
    "r": 64,
    "g": 103,
    "b": 188
  },
  "hsl": {
    "h": 221.129,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.52915,
    "c": 0.14065,
    "h": 263.7
  },
  "luminance": 0.14421
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4067BC

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

Preview Lab → · Contrast checker → · Palette generator →

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