#4067CC#4067CC

#4067CC is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.0% C 0.163 H 265.4°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#4067CC
RGBrgb(64, 103, 204)
HSLhsl(223, 58%, 53%)
HSVhsv(223, 69%, 80%)
CMYKcmyk(68.6%, 49.5%, 0%, 20%)
CIE-LABlab(45.84, 19.85, -56.53)
CIE-LCHlch(45.84, 59.91, 289.35°)
OKLaboklab(54.01% -0.013 -0.1622)
OKLCHoklch(54.01% 0.163 265.4)
XYZxyz(17.8599, 15.1483, 59.0977)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4067CC #CCA540
analogous
#40ADCC #4067CC #5F40CC
triadic
#4067CC #CC4067 #67CC40
tetradic
#4067CC #CC40AD #CCA540 #40CC5F
square
#4067CC #CC40AD #CCA540 #40CC5F
split-complementary
#4067CC #CC5F40 #ADCC40
monochromatic
#1F3673 #2C4DA3 #4067CC #708DD9 #A1B4E6

Accessibility & contrast

On white

5.21
#4067CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#4067CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4067CC
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4067CC#FFFFFF#000000##FFFFFF
##4067CC1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E73D0
Deuteranopia (green-blind)
#0066CA
Tritanopia (blue-blind)
#007F90
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4067cc;
/* rgb */ color: rgb(64, 103, 204);
/* oklch */ color: oklch(54.0% 0.163 265.4);
Tailwind
colors: {
  custom: {
    50: '#8591dc',
    500: '#4067cc',
    950: '#000000',
  },
}
SCSS
$custom: #4067cc;
$custom-light: #8591dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4067cc",
  "rgb": {
    "r": 64,
    "g": 103,
    "b": 204
  },
  "hsl": {
    "h": 223.286,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.54009,
    "c": 0.16273,
    "h": 265.4
  },
  "luminance": 0.1515
}

Semantic roles & 50–950 ramp

primary
#4067CC
secondary
#D2C195
accent
#B647E1
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4067CC

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

Preview Lab → · Contrast checker → · Palette generator →

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