#4065B8#4065B8

#4065B8 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.2% C 0.137 H 264.1°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#4065B8
RGBrgb(64, 101, 184)
HSLhsl(222, 48%, 49%)
HSVhsv(222, 65%, 72%)
CMYKcmyk(65.2%, 45.1%, 0%, 27.8%)
CIE-LABlab(44.03, 13.95, -47.87)
CIE-LCHlch(44.03, 49.86, 286.24°)
OKLaboklab(52.22% -0.014 -0.1368)
OKLCHoklch(52.22% 0.137 264.1)
XYZxyz(15.4167, 13.8566, 47.2002)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4065B8 #B89340
analogous
#40A1B8 #4065B8 #5740B8
triadic
#4065B8 #B84065 #65B840
tetradic
#4065B8 #B840A1 #B89340 #40B857
square
#4065B8 #B840A1 #B89340 #40B857
split-complementary
#4065B8 #B85740 #A1B840
monochromatic
#20335D #304C8B #4065B8 #6A88CB #97ACDB

Accessibility & contrast

On white

5.57
#4065B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#4065B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4065B8
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4065B8#FFFFFF#000000##FFFFFF
##4065B81.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6EBB
Deuteranopia (green-blind)
#2863B6
Tritanopia (blue-blind)
#007885
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4065b8;
/* rgb */ color: rgb(64, 101, 184);
/* oklch */ color: oklch(52.2% 0.137 264.1);
Tailwind
colors: {
  custom: {
    50: '#8190ce',
    500: '#4065b8',
    950: '#000000',
  },
}
SCSS
$custom: #4065b8;
$custom-light: #8190ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4065b8",
  "rgb": {
    "r": 64,
    "g": 101,
    "b": 184
  },
  "hsl": {
    "h": 221.5,
    "s": 48.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.5222,
    "c": 0.13749,
    "h": 264.1
  },
  "luminance": 0.13858
}

Semantic roles & 50–950 ramp

primary
#4065B8
secondary
#C7B58D
accent
#AE50D8
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #4065B8

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

Preview Lab → · Contrast checker → · Palette generator →

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