#4068B2#4068B2

#4068B2 is a mid, vivid blue. Relative luminance 0.142; OKLCH L 52.5% C 0.125 H 261.6°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#4068B2
RGBrgb(64, 104, 178)
HSLhsl(219, 47%, 47%)
HSVhsv(219, 64%, 70%)
CMYKcmyk(64%, 41.6%, 0%, 30.2%)
CIE-LABlab(44.52, 9.91, -43.58)
CIE-LCHlch(44.52, 44.69, 282.81°)
OKLaboklab(52.49% -0.0182 -0.1241)
OKLCHoklch(52.49% 0.125 261.6)
XYZxyz(15.0977, 14.2036, 44.0568)
Luminance0.1421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4068B2 #B28A40
analogous
#40A1B2 #4068B2 #5140B2
triadic
#4068B2 #B24068 #68B240
tetradic
#4068B2 #B240A1 #B28A40 #40B251
square
#4068B2 #B240A1 #B28A40 #40B251
split-complementary
#4068B2 #B25140 #A1B240
monochromatic
#203358 #304E85 #4068B2 #6789C8 #94ACD8

Accessibility & contrast

On white

5.47
#4068B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#4068B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4068B2
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4068B2#FFFFFF#000000##FFFFFF
##4068B21.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476FB5
Deuteranopia (green-blind)
#3664B0
Tritanopia (blue-blind)
#007984
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4068b2;
/* rgb */ color: rgb(64, 104, 178);
/* oklch */ color: oklch(52.5% 0.125 261.6);
Tailwind
colors: {
  custom: {
    50: '#8092c9',
    500: '#4068b2',
    950: '#000000',
  },
}
SCSS
$custom: #4068b2;
$custom-light: #8092c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4068b2",
  "rgb": {
    "r": 64,
    "g": 104,
    "b": 178
  },
  "hsl": {
    "h": 218.947,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.52489,
    "c": 0.12545,
    "h": 261.6
  },
  "luminance": 0.14205
}

Semantic roles & 50–950 ramp

primary
#4068B2
secondary
#C4B08A
accent
#A851D7
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0D13
muted
#7C7D82

Preview Lab

Preview with #4068B2

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

Preview Lab → · Contrast checker → · Palette generator →

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