#4065C3#4065C3

#4065C3 is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.0% C 0.153 H 265.4°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#4065C3
RGBrgb(64, 101, 195)
HSLhsl(223, 52%, 51%)
HSVhsv(223, 67%, 76%)
CMYKcmyk(67.2%, 48.2%, 0%, 23.5%)
CIE-LABlab(44.71, 17.88, -53.16)
CIE-LCHlch(44.71, 56.08, 288.60°)
OKLaboklab(52.97% -0.0124 -0.1523)
OKLCHoklch(52.97% 0.153 265.4)
XYZxyz(16.6149, 14.3359, 53.5107)
Luminance0.1434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4065C3 #C39E40
analogous
#40A7C3 #4065C3 #5C40C3
triadic
#4065C3 #C34065 #65C340
tetradic
#4065C3 #C340A7 #C39E40 #40C35C
square
#4065C3 #C340A7 #C39E40 #40C35C
split-complementary
#4065C3 #C35C40 #A7C340
monochromatic
#213568 #2F4C97 #4065C3 #6F8BD2 #9DB0E0

Accessibility & contrast

On white

5.43
#4065C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#4065C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4065C3
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4065C3#FFFFFF#000000##FFFFFF
##4065C31.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3370C6
Deuteranopia (green-blind)
#1364C1
Tritanopia (blue-blind)
#007B8A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4065c3;
/* rgb */ color: rgb(64, 101, 195);
/* oklch */ color: oklch(53.0% 0.153 265.4);
Tailwind
colors: {
  custom: {
    50: '#8390d6',
    500: '#4065c3',
    950: '#000000',
  },
}
SCSS
$custom: #4065c3;
$custom-light: #8390d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4065c3",
  "rgb": {
    "r": 64,
    "g": 101,
    "b": 195
  },
  "hsl": {
    "h": 223.053,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.52965,
    "c": 0.15282,
    "h": 265.4
  },
  "luminance": 0.14337
}

Semantic roles & 50–950 ramp

primary
#4065C3
secondary
#CCBC92
accent
#B34CDC
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4065C3

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

Preview Lab → · Contrast checker → · Palette generator →

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