#4065BC#4065BC

#4065BC is a mid, vivid blue. Relative luminance 0.140; OKLCH L 52.5% C 0.143 H 264.6°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#4065BC
RGBrgb(64, 101, 188)
HSLhsl(222, 49%, 49%)
HSVhsv(222, 66%, 74%)
CMYKcmyk(66%, 46.3%, 0%, 26.3%)
CIE-LABlab(44.27, 15.38, -49.81)
CIE-LCHlch(44.27, 52.13, 287.16°)
OKLaboklab(52.49% -0.0134 -0.1425)
OKLCHoklch(52.49% 0.143 264.6)
XYZxyz(15.8420, 14.0267, 49.4398)
Luminance0.1403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4065BC #BC9740
analogous
#40A3BC #4065BC #5940BC
triadic
#4065BC #BC4065 #65BC40
tetradic
#4065BC #BC40A3 #BC9740 #40BC59
square
#4065BC #BC40A3 #BC9740 #40BC59
split-complementary
#4065BC #BC5940 #A3BC40
monochromatic
#213461 #304C8E #4065BC #6C89CD #9AAEDD

Accessibility & contrast

On white

5.52
#4065BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#4065BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4065BC
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4065BC#FFFFFF#000000##FFFFFF
##4065BC1.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6FBF
Deuteranopia (green-blind)
#2263BA
Tritanopia (blue-blind)
#007987
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4065bc;
/* rgb */ color: rgb(64, 101, 188);
/* oklch */ color: oklch(52.5% 0.143 264.6);
Tailwind
colors: {
  custom: {
    50: '#8290d1',
    500: '#4065bc',
    950: '#000000',
  },
}
SCSS
$custom: #4065bc;
$custom-light: #8290d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4065bc",
  "rgb": {
    "r": 64,
    "g": 101,
    "b": 188
  },
  "hsl": {
    "h": 222.097,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.52487,
    "c": 0.14309,
    "h": 264.6
  },
  "luminance": 0.14028
}

Semantic roles & 50–950 ramp

primary
#4065BC
secondary
#C9B78F
accent
#B04FD9
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #4065BC

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

Preview Lab → · Contrast checker → · Palette generator →

#4065BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva