#4068DB#4068DB

#4068DB is a mid, vivid blue. Relative luminance 0.161; OKLCH L 55.3% C 0.182 H 266.1°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#4068DB
RGBrgb(64, 104, 219)
HSLhsl(225, 68%, 55%)
HSVhsv(225, 71%, 86%)
CMYKcmyk(70.8%, 52.5%, 0%, 14.1%)
CIE-LABlab(47.11, 24.61, -63.03)
CIE-LCHlch(47.11, 67.67, 291.33°)
OKLaboklab(55.3% -0.0123 -0.1813)
OKLCHoklch(55.3% 0.182 266.1)
XYZxyz(19.8464, 16.1030, 69.0664)
Luminance0.1610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4068DB #DBB340
analogous
#40B6DB #4068DB #6540DB
triadic
#4068DB #DB4068 #68DB40
tetradic
#4068DB #DB40B6 #DBB340 #40DB65
square
#4068DB #DB40B6 #DBB340 #40DB65
split-complementary
#4068DB #DB6540 #B6DB40
monochromatic
#193687 #234ABB #4068DB #7391E5 #A7B9EE

Accessibility & contrast

On white

4.98
#4068DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#4068DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4068DB
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4068DB#FFFFFF#000000##FFFFFF
##4068DB1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1777DF
Deuteranopia (green-blind)
#0069D9
Tritanopia (blue-blind)
#008497
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4068db;
/* rgb */ color: rgb(64, 104, 219);
/* oklch */ color: oklch(55.3% 0.182 266.1);
Tailwind
colors: {
  custom: {
    50: '#8892e7',
    500: '#4068db',
    950: '#000000',
  },
}
SCSS
$custom: #4068db;
$custom-light: #8892e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4068db",
  "rgb": {
    "r": 64,
    "g": 104,
    "b": 219
  },
  "hsl": {
    "h": 224.516,
    "s": 68.282,
    "l": 55.49
  },
  "oklch": {
    "l": 0.55296,
    "c": 0.18176,
    "h": 266.1
  },
  "luminance": 0.16105
}

Semantic roles & 50–950 ramp

primary
#4068DB
secondary
#DCCB9B
accent
#BE3DEB
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0D16
muted
#7E7D84

Preview Lab

Preview with #4068DB

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

Preview Lab → · Contrast checker → · Palette generator →

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