#4065B3#4065B3

#4065B3 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 51.9% C 0.130 H 263.4°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#4065B3
RGBrgb(64, 101, 179)
HSLhsl(221, 47%, 48%)
HSVhsv(221, 64%, 70%)
CMYKcmyk(64.2%, 43.6%, 0%, 29.8%)
CIE-LABlab(43.73, 12.16, -45.43)
CIE-LCHlch(43.73, 47.03, 284.99°)
OKLaboklab(51.89% -0.0149 -0.1296)
OKLCHoklch(51.89% 0.13 263.4)
XYZxyz(14.9019, 13.6506, 44.4886)
Luminance0.1365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4065B3 #B38E40
analogous
#409EB3 #4065B3 #5540B3
triadic
#4065B3 #B34065 #65B340
tetradic
#4065B3 #B3409E #B38E40 #40B355
square
#4065B3 #B3409E #B38E40 #40B355
split-complementary
#4065B3 #B35540 #9EB340
monochromatic
#203259 #304C86 #4065B3 #6787C9 #94ABD9

Accessibility & contrast

On white

5.63
#4065B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#4065B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4065B3
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4065B3#FFFFFF#000000##FFFFFF
##4065B31.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416DB6
Deuteranopia (green-blind)
#2F62B1
Tritanopia (blue-blind)
#007783
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4065b3;
/* rgb */ color: rgb(64, 101, 179);
/* oklch */ color: oklch(51.9% 0.130 263.4);
Tailwind
colors: {
  custom: {
    50: '#8090ca',
    500: '#4065b3',
    950: '#000000',
  },
}
SCSS
$custom: #4065b3;
$custom-light: #8090ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4065b3",
  "rgb": {
    "r": 64,
    "g": 101,
    "b": 179
  },
  "hsl": {
    "h": 220.696,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.51894,
    "c": 0.13046,
    "h": 263.4
  },
  "luminance": 0.13652
}

Semantic roles & 50–950 ramp

primary
#4065B3
secondary
#C4B28A
accent
#AC51D7
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #4065B3

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

Preview Lab → · Contrast checker → · Palette generator →

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