#4067B2#4067B2

#4067B2 is a mid, vivid blue. Relative luminance 0.140; OKLCH L 52.3% C 0.127 H 262.2°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#4067B2
RGBrgb(64, 103, 178)
HSLhsl(219, 47%, 47%)
HSVhsv(219, 64%, 70%)
CMYKcmyk(64%, 42.1%, 0%, 30.2%)
CIE-LABlab(44.24, 10.54, -44.03)
CIE-LCHlch(44.24, 45.28, 283.46°)
OKLaboklab(52.27% -0.0172 -0.1255)
OKLCHoklch(52.27% 0.127 262.2)
XYZxyz(14.9977, 14.0034, 44.0234)
Luminance0.1401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4067B2 #B28B40
analogous
#40A0B2 #4067B2 #5240B2
triadic
#4067B2 #B24067 #67B240
tetradic
#4067B2 #B240A0 #B28B40 #40B252
square
#4067B2 #B240A0 #B28B40 #40B252
split-complementary
#4067B2 #B25240 #A0B240
monochromatic
#203358 #304D85 #4067B2 #6788C8 #94ABD8

Accessibility & contrast

On white

5.52
#4067B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#4067B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4067B2
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4067B2#FFFFFF#000000##FFFFFF
##4067B21.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456EB5
Deuteranopia (green-blind)
#3464B0
Tritanopia (blue-blind)
#007884
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4067b2;
/* rgb */ color: rgb(64, 103, 178);
/* oklch */ color: oklch(52.3% 0.127 262.2);
Tailwind
colors: {
  custom: {
    50: '#8091c9',
    500: '#4067b2',
    950: '#000000',
  },
}
SCSS
$custom: #4067b2;
$custom-light: #8091c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4067b2",
  "rgb": {
    "r": 64,
    "g": 103,
    "b": 178
  },
  "hsl": {
    "h": 219.474,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.52268,
    "c": 0.12664,
    "h": 262.2
  },
  "luminance": 0.14005
}

Semantic roles & 50–950 ramp

primary
#4067B2
secondary
#C4B08A
accent
#A951D7
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #4067B2

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

Preview Lab → · Contrast checker → · Palette generator →

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