#4067C8#4067C8

#4067C8 is a mid, vivid blue. Relative luminance 0.150; OKLCH L 53.7% C 0.157 H 265.1°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#4067C8
RGBrgb(64, 103, 200)
HSLhsl(223, 55%, 52%)
HSVhsv(223, 68%, 78%)
CMYKcmyk(68%, 48.5%, 0%, 21.6%)
CIE-LABlab(45.58, 18.41, -54.65)
CIE-LCHlch(45.58, 57.66, 288.62°)
OKLaboklab(53.73% -0.0135 -0.1567)
OKLCHoklch(53.73% 0.157 265.1)
XYZxyz(17.3863, 14.9589, 56.6035)
Luminance0.1496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4067C8 #C8A140
analogous
#40ABC8 #4067C8 #5D40C8
triadic
#4067C8 #C84067 #67C840
tetradic
#4067C8 #C840AB #C8A140 #40C85D
square
#4067C8 #C840AB #C8A140 #40C85D
split-complementary
#4067C8 #C85D40 #ABC840
monochromatic
#20366E #2D4D9D #4067C8 #708DD6 #9FB3E3

Accessibility & contrast

On white

5.26
#4067C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#4067C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4067C8
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4067C8#FFFFFF#000000##FFFFFF
##4067C81.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3272CC
Deuteranopia (green-blind)
#0D66C6
Tritanopia (blue-blind)
#007E8E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4067c8;
/* rgb */ color: rgb(64, 103, 200);
/* oklch */ color: oklch(53.7% 0.157 265.1);
Tailwind
colors: {
  custom: {
    50: '#8491d9',
    500: '#4067c8',
    950: '#000000',
  },
}
SCSS
$custom: #4067c8;
$custom-light: #8491d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4067c8",
  "rgb": {
    "r": 64,
    "g": 103,
    "b": 200
  },
  "hsl": {
    "h": 222.794,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.53729,
    "c": 0.15725,
    "h": 265.1
  },
  "luminance": 0.14961
}

Semantic roles & 50–950 ramp

primary
#4067C8
secondary
#D0BF94
accent
#B449DF
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4067C8

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

Preview Lab → · Contrast checker → · Palette generator →

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