#4075CA#4075CA

#4075CA is a mid, vivid blue. Relative luminance 0.181; OKLCH L 56.9% C 0.143 H 259.4°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#4075CA
RGBrgb(64, 117, 202)
HSLhsl(217, 57%, 52%)
HSVhsv(217, 68%, 79%)
CMYKcmyk(68.3%, 42.1%, 0%, 20.8%)
CIE-LABlab(49.59, 10.33, -49.37)
CIE-LCHlch(49.59, 50.44, 281.82°)
OKLaboklab(56.85% -0.0263 -0.1409)
OKLCHoklch(56.85% 0.143 259.4)
XYZxyz(19.1325, 18.0749, 58.3462)
Luminance0.1808 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4075CA #CA9540
analogous
#40BACA #4075CA #5040CA
triadic
#4075CA #CA4075 #75CA40
tetradic
#4075CA #CA40BA #CA9540 #40CA50
square
#4075CA #CA40BA #CA9540 #40CA50
split-complementary
#4075CA #CA5040 #BACA40
monochromatic
#1F3E70 #2C59A0 #4075CA #7098D7 #A0BAE5

Accessibility & contrast

On white

4.55
#4075CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#4075CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4075CA
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4075CA#FFFFFF#000000##000000
##4075CA1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7DCD
Deuteranopia (green-blind)
#3670C8
Tritanopia (blue-blind)
#008995
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4075ca;
/* rgb */ color: rgb(64, 117, 202);
/* oklch */ color: oklch(56.9% 0.143 259.4);
Tailwind
colors: {
  custom: {
    50: '#849cda',
    500: '#4075ca',
    950: '#000000',
  },
}
SCSS
$custom: #4075ca;
$custom-light: #849cda;
$custom-dark: #000000;
JSON
{
  "hex": "#4075ca",
  "rgb": {
    "r": 64,
    "g": 117,
    "b": 202
  },
  "hsl": {
    "h": 216.957,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.5685,
    "c": 0.14336,
    "h": 259.4
  },
  "luminance": 0.18077
}

Semantic roles & 50–950 ramp

primary
#4075CA
secondary
#D1BA95
accent
#A648E0
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4075CA

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

Preview Lab → · Contrast checker → · Palette generator →

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