#4068CA#4068CA

#4068CA is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.1% C 0.159 H 264.9°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#4068CA
RGBrgb(64, 104, 202)
HSLhsl(223, 57%, 52%)
HSVhsv(223, 68%, 79%)
CMYKcmyk(68.3%, 48.5%, 0%, 20.8%)
CIE-LABlab(45.98, 18.49, -55.15)
CIE-LCHlch(45.98, 58.17, 288.54°)
OKLaboklab(54.08% -0.0142 -0.1581)
OKLCHoklch(54.08% 0.159 264.9)
XYZxyz(17.7216, 15.2531, 57.8759)
Luminance0.1525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4068CA #CAA240
analogous
#40ADCA #4068CA #5D40CA
triadic
#4068CA #CA4068 #68CA40
tetradic
#4068CA #CA40AD #CAA240 #40CA5D
square
#4068CA #CA40AD #CAA240 #40CA5D
split-complementary
#4068CA #CA5D40 #ADCA40
monochromatic
#1F3770 #2C4EA0 #4068CA #708ED7 #A0B4E5

Accessibility & contrast

On white

5.18
#4068CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#4068CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4068CA
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4068CA#FFFFFF#000000##FFFFFF
##4068CA1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3374CE
Deuteranopia (green-blind)
#0B67C8
Tritanopia (blue-blind)
#007F8F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4068ca;
/* rgb */ color: rgb(64, 104, 202);
/* oklch */ color: oklch(54.1% 0.159 264.9);
Tailwind
colors: {
  custom: {
    50: '#8492db',
    500: '#4068ca',
    950: '#000000',
  },
}
SCSS
$custom: #4068ca;
$custom-light: #8492db;
$custom-dark: #000000;
JSON
{
  "hex": "#4068ca",
  "rgb": {
    "r": 64,
    "g": 104,
    "b": 202
  },
  "hsl": {
    "h": 222.609,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.54076,
    "c": 0.15877,
    "h": 264.9
  },
  "luminance": 0.15255
}

Semantic roles & 50–950 ramp

primary
#4068CA
secondary
#D1C095
accent
#B448E0
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0D15
muted
#7D7D83

Preview Lab

Preview with #4068CA

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

Preview Lab → · Contrast checker → · Palette generator →

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