#4068AF#4068AF

#4068AF is a mid, vivid blue. Relative luminance 0.141; OKLCH L 52.3% C 0.121 H 261.0°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#4068AF
RGBrgb(64, 104, 175)
HSLhsl(218, 46%, 47%)
HSVhsv(218, 63%, 69%)
CMYKcmyk(63.4%, 40.6%, 0%, 31.4%)
CIE-LABlab(44.35, 8.85, -42.09)
CIE-LCHlch(44.35, 43.01, 281.87°)
OKLaboklab(52.3% -0.0189 -0.1198)
OKLCHoklch(52.3% 0.121 261)
XYZxyz(14.7998, 14.0844, 42.4878)
Luminance0.1409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4068AF #AF8740
analogous
#40A0AF #4068AF #4F40AF
triadic
#4068AF #AF4068 #68AF40
tetradic
#4068AF #AF40A0 #AF8740 #40AF4F
square
#4068AF #AF40A0 #AF8740 #40AF4F
split-complementary
#4068AF #AF4F40 #A0AF40
monochromatic
#1F3355 #304D82 #4068AF #6588C7 #92ABD7

Accessibility & contrast

On white

5.50
#4068AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#4068AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4068AF
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4068AF#FFFFFF#000000##FFFFFF
##4068AF1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486EB2
Deuteranopia (green-blind)
#3964AE
Tritanopia (blue-blind)
#007883
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4068af;
/* rgb */ color: rgb(64, 104, 175);
/* oklch */ color: oklch(52.3% 0.121 261.0);
Tailwind
colors: {
  custom: {
    50: '#7f92c7',
    500: '#4068af',
    950: '#000000',
  },
}
SCSS
$custom: #4068af;
$custom-light: #7f92c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4068af",
  "rgb": {
    "r": 64,
    "g": 104,
    "b": 175
  },
  "hsl": {
    "h": 218.378,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.52303,
    "c": 0.12125,
    "h": 261
  },
  "luminance": 0.14086
}

Semantic roles & 50–950 ramp

primary
#4068AF
secondary
#C3AE88
accent
#A652D6
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0D13
muted
#7C7D82

Preview Lab

Preview with #4068AF

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

Preview Lab → · Contrast checker → · Palette generator →

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