#4075CD#4075CD

#4075CD is a mid, vivid blue. Relative luminance 0.182; OKLCH L 57.0% C 0.147 H 260.0°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#4075CD
RGBrgb(64, 117, 205)
HSLhsl(217, 59%, 53%)
HSVhsv(217, 69%, 80%)
CMYKcmyk(68.8%, 42.9%, 0%, 19.6%)
CIE-LABlab(49.76, 11.40, -50.80)
CIE-LCHlch(49.76, 52.07, 282.65°)
OKLaboklab(57.04% -0.0257 -0.1451)
OKLCHoklch(57.04% 0.147 260)
XYZxyz(19.4911, 18.2183, 60.2351)
Luminance0.1822 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4075CD #CD9840
analogous
#40BBCD #4075CD #5240CD
triadic
#4075CD #CD4075 #75CD40
tetradic
#4075CD #CD40BB #CD9840 #40CD52
square
#4075CD #CD40BB #CD9840 #40CD52
split-complementary
#4075CD #CD5240 #BBCD40
monochromatic
#1E3F74 #2B59A5 #4075CD #7198DA #A1BBE6

Accessibility & contrast

On white

4.52
#4075CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#4075CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4075CD
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4075CD#FFFFFF#000000##000000
##4075CD1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7DD0
Deuteranopia (green-blind)
#3370CB
Tritanopia (blue-blind)
#008997
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4075cd;
/* rgb */ color: rgb(64, 117, 205);
/* oklch */ color: oklch(57.0% 0.147 260.0);
Tailwind
colors: {
  custom: {
    50: '#849cdd',
    500: '#4075cd',
    950: '#000000',
  },
}
SCSS
$custom: #4075cd;
$custom-light: #849cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4075cd",
  "rgb": {
    "r": 64,
    "g": 117,
    "b": 205
  },
  "hsl": {
    "h": 217.447,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.5704,
    "c": 0.1474,
    "h": 260
  },
  "luminance": 0.1822
}

Semantic roles & 50–950 ramp

primary
#4075CD
secondary
#D3BC96
accent
#A746E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4075CD

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

Preview Lab → · Contrast checker → · Palette generator →

#4075CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva