#4067CD#4067CD

#4067CD is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.1% C 0.164 H 265.5°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#4067CD
RGBrgb(64, 103, 205)
HSLhsl(223, 59%, 53%)
HSVhsv(223, 69%, 80%)
CMYKcmyk(68.8%, 49.8%, 0%, 19.6%)
CIE-LABlab(45.90, 20.21, -57.00)
CIE-LCHlch(45.90, 60.47, 289.52°)
OKLaboklab(54.08% -0.0129 -0.1636)
OKLCHoklch(54.08% 0.164 265.5)
XYZxyz(17.9802, 15.1965, 59.7314)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4067CD #CDA640
analogous
#40AECD #4067CD #5F40CD
triadic
#4067CD #CD4067 #67CD40
tetradic
#4067CD #CD40AE #CDA640 #40CD5F
square
#4067CD #CD40AE #CDA640 #40CD5F
split-complementary
#4067CD #CD5F40 #AECD40
monochromatic
#1E3674 #2B4DA5 #4067CD #718EDA #A1B4E6

Accessibility & contrast

On white

5.20
#4067CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#4067CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4067CD
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4067CD#FFFFFF#000000##FFFFFF
##4067CD1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C74D1
Deuteranopia (green-blind)
#0067CB
Tritanopia (blue-blind)
#007F90
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4067cd;
/* rgb */ color: rgb(64, 103, 205);
/* oklch */ color: oklch(54.1% 0.164 265.5);
Tailwind
colors: {
  custom: {
    50: '#8591dd',
    500: '#4067cd',
    950: '#000000',
  },
}
SCSS
$custom: #4067cd;
$custom-light: #8591dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4067cd",
  "rgb": {
    "r": 64,
    "g": 103,
    "b": 205
  },
  "hsl": {
    "h": 223.404,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.5408,
    "c": 0.16409,
    "h": 265.5
  },
  "luminance": 0.15198
}

Semantic roles & 50–950 ramp

primary
#4067CD
secondary
#D3C296
accent
#B746E2
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4067CD

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

Preview Lab → · Contrast checker → · Palette generator →

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