#4065B9#4065B9

#4065B9 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.3% C 0.139 H 264.3°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#4065B9
RGBrgb(64, 101, 185)
HSLhsl(222, 49%, 49%)
HSVhsv(222, 65%, 73%)
CMYKcmyk(65.4%, 45.4%, 0%, 27.5%)
CIE-LABlab(44.09, 14.30, -48.36)
CIE-LCHlch(44.09, 50.43, 286.48°)
OKLaboklab(52.29% -0.0139 -0.1382)
OKLCHoklch(52.29% 0.139 264.3)
XYZxyz(15.5219, 13.8987, 47.7542)
Luminance0.1390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4065B9 #B99440
analogous
#40A2B9 #4065B9 #5840B9
triadic
#4065B9 #B94065 #65B940
tetradic
#4065B9 #B940A2 #B99440 #40B958
square
#4065B9 #B940A2 #B99440 #40B958
split-complementary
#4065B9 #B95840 #A2B940
monochromatic
#21335E #304C8C #4065B9 #6B88CC #98ADDB

Accessibility & contrast

On white

5.56
#4065B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#4065B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4065B9
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4065B9#FFFFFF#000000##FFFFFF
##4065B91.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C6EBC
Deuteranopia (green-blind)
#2763B7
Tritanopia (blue-blind)
#007886
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4065b9;
/* rgb */ color: rgb(64, 101, 185);
/* oklch */ color: oklch(52.3% 0.139 264.3);
Tailwind
colors: {
  custom: {
    50: '#8190ce',
    500: '#4065b9',
    950: '#000000',
  },
}
SCSS
$custom: #4065b9;
$custom-light: #8190ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4065b9",
  "rgb": {
    "r": 64,
    "g": 101,
    "b": 185
  },
  "hsl": {
    "h": 221.653,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.52287,
    "c": 0.13889,
    "h": 264.3
  },
  "luminance": 0.139
}

Semantic roles & 50–950 ramp

primary
#4065B9
secondary
#C7B68E
accent
#AE50D8
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #4065B9

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

Preview Lab → · Contrast checker → · Palette generator →

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