#4067BA#4067BA

#4067BA is a mid, vivid blue. Relative luminance 0.143; OKLCH L 52.8% C 0.138 H 263.5°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#4067BA
RGBrgb(64, 103, 186)
HSLhsl(221, 49%, 49%)
HSVhsv(221, 66%, 73%)
CMYKcmyk(65.6%, 44.6%, 0%, 27.1%)
CIE-LABlab(44.71, 13.39, -47.94)
CIE-LCHlch(44.71, 49.78, 285.60°)
OKLaboklab(52.78% -0.0157 -0.137)
OKLCHoklch(52.78% 0.138 263.5)
XYZxyz(15.8244, 14.3342, 48.3777)
Luminance0.1434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4067BA #BA9340
analogous
#40A4BA #4067BA #5640BA
triadic
#4067BA #BA4067 #67BA40
tetradic
#4067BA #BA40A4 #BA9340 #40BA56
square
#4067BA #BA40A4 #BA9340 #40BA56
split-complementary
#4067BA #BA5640 #A4BA40
monochromatic
#21355F #304E8C #4067BA #6B8ACC #99AEDC

Accessibility & contrast

On white

5.43
#4067BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#4067BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4067BA
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4067BA#FFFFFF#000000##FFFFFF
##4067BA1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F70BD
Deuteranopia (green-blind)
#2A65B8
Tritanopia (blue-blind)
#007A87
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4067ba;
/* rgb */ color: rgb(64, 103, 186);
/* oklch */ color: oklch(52.8% 0.138 263.5);
Tailwind
colors: {
  custom: {
    50: '#8191cf',
    500: '#4067ba',
    950: '#000000',
  },
}
SCSS
$custom: #4067ba;
$custom-light: #8191cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4067ba",
  "rgb": {
    "r": 64,
    "g": 103,
    "b": 186
  },
  "hsl": {
    "h": 220.82,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.52783,
    "c": 0.13785,
    "h": 263.5
  },
  "luminance": 0.14336
}

Semantic roles & 50–950 ramp

primary
#4067BA
secondary
#C8B58E
accent
#AD4FD8
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #4067BA

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

Preview Lab → · Contrast checker → · Palette generator →

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