#4067CA#4067CA

#4067CA is a mid, vivid blue. Relative luminance 0.151; OKLCH L 53.9% C 0.160 H 265.2°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#4067CA
RGBrgb(64, 103, 202)
HSLhsl(223, 57%, 52%)
HSVhsv(223, 68%, 79%)
CMYKcmyk(68.3%, 49%, 0%, 20.8%)
CIE-LABlab(45.71, 19.13, -55.59)
CIE-LCHlch(45.71, 58.79, 288.99°)
OKLaboklab(53.87% -0.0133 -0.1594)
OKLCHoklch(53.87% 0.16 265.2)
XYZxyz(17.6215, 15.0530, 57.8425)
Luminance0.1505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4067CA #CAA340
analogous
#40ACCA #4067CA #5E40CA
triadic
#4067CA #CA4067 #67CA40
tetradic
#4067CA #CA40AC #CAA340 #40CA5E
square
#4067CA #CA40AC #CAA340 #40CA5E
split-complementary
#4067CA #CA5E40 #ACCA40
monochromatic
#1F3670 #2C4DA0 #4067CA #708DD7 #A0B3E5

Accessibility & contrast

On white

5.24
#4067CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#4067CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4067CA
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4067CA#FFFFFF#000000##FFFFFF
##4067CA1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3073CE
Deuteranopia (green-blind)
#0366C8
Tritanopia (blue-blind)
#007E8F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4067ca;
/* rgb */ color: rgb(64, 103, 202);
/* oklch */ color: oklch(53.9% 0.160 265.2);
Tailwind
colors: {
  custom: {
    50: '#8491db',
    500: '#4067ca',
    950: '#000000',
  },
}
SCSS
$custom: #4067ca;
$custom-light: #8491db;
$custom-dark: #000000;
JSON
{
  "hex": "#4067ca",
  "rgb": {
    "r": 64,
    "g": 103,
    "b": 202
  },
  "hsl": {
    "h": 223.043,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.53869,
    "c": 0.15999,
    "h": 265.2
  },
  "luminance": 0.15055
}

Semantic roles & 50–950 ramp

primary
#4067CA
secondary
#D1C095
accent
#B548E0
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4067CA

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

Preview Lab → · Contrast checker → · Palette generator →

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