#4068B9#4068B9

#4068B9 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 52.9% C 0.135 H 262.8°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#4068B9
RGBrgb(64, 104, 185)
HSLhsl(220, 49%, 49%)
HSVhsv(220, 65%, 73%)
CMYKcmyk(65.4%, 43.8%, 0%, 27.5%)
CIE-LABlab(44.93, 12.40, -47.01)
CIE-LCHlch(44.93, 48.61, 284.78°)
OKLaboklab(52.94% -0.0169 -0.1342)
OKLCHoklch(52.94% 0.135 262.8)
XYZxyz(15.8185, 14.4919, 47.8531)
Luminance0.1449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4068B9 #B99140
analogous
#40A5B9 #4068B9 #5540B9
triadic
#4068B9 #B94068 #68B940
tetradic
#4068B9 #B940A5 #B99140 #40B955
square
#4068B9 #B940A5 #B99140 #40B955
split-complementary
#4068B9 #B95540 #A5B940
monochromatic
#21355E #304E8C #4068B9 #6B8BCC #98AEDB

Accessibility & contrast

On white

5.39
#4068B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#4068B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4068B9
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4068B9#FFFFFF#000000##FFFFFF
##4068B91.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4270BC
Deuteranopia (green-blind)
#2E65B7
Tritanopia (blue-blind)
#007B87
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4068b9;
/* rgb */ color: rgb(64, 104, 185);
/* oklch */ color: oklch(52.9% 0.135 262.8);
Tailwind
colors: {
  custom: {
    50: '#8192ce',
    500: '#4068b9',
    950: '#000000',
  },
}
SCSS
$custom: #4068b9;
$custom-light: #8192ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4068b9",
  "rgb": {
    "r": 64,
    "g": 104,
    "b": 185
  },
  "hsl": {
    "h": 220.165,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.52935,
    "c": 0.13525,
    "h": 262.8
  },
  "luminance": 0.14493
}

Semantic roles & 50–950 ramp

primary
#4068B9
secondary
#C7B48E
accent
#AB50D8
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0B0D14
muted
#7C7D82

Preview Lab

Preview with #4068B9

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

Preview Lab → · Contrast checker → · Palette generator →

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