#4075CC#4075CC

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

Color values

HEX#4075CC
RGBrgb(64, 117, 204)
HSLhsl(217, 58%, 53%)
HSVhsv(217, 69%, 80%)
CMYKcmyk(68.6%, 42.6%, 0%, 20%)
CIE-LABlab(49.70, 11.05, -50.33)
CIE-LCHlch(49.70, 51.52, 282.38°)
OKLaboklab(56.98% -0.0259 -0.1437)
OKLCHoklch(56.98% 0.146 259.8)
XYZxyz(19.3708, 18.1702, 59.6014)
Luminance0.1817 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4075CC #CC9740
analogous
#40BBCC #4075CC #5140CC
triadic
#4075CC #CC4075 #75CC40
tetradic
#4075CC #CC40BB #CC9740 #40CC51
square
#4075CC #CC40BB #CC9740 #40CC51
split-complementary
#4075CC #CC5140 #BBCC40
monochromatic
#1F3F73 #2C59A3 #4075CC #7098D9 #A1BBE6

Accessibility & contrast

On white

4.53
#4075CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#4075CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4075CC
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4075CC#FFFFFF#000000##000000
##4075CC1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7DCF
Deuteranopia (green-blind)
#3470CA
Tritanopia (blue-blind)
#008996
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4075cc;
/* rgb */ color: rgb(64, 117, 204);
/* oklch */ color: oklch(57.0% 0.146 259.8);
Tailwind
colors: {
  custom: {
    50: '#849cdc',
    500: '#4075cc',
    950: '#000000',
  },
}
SCSS
$custom: #4075cc;
$custom-light: #849cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#4075cc",
  "rgb": {
    "r": 64,
    "g": 117,
    "b": 204
  },
  "hsl": {
    "h": 217.286,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.56976,
    "c": 0.14606,
    "h": 259.8
  },
  "luminance": 0.18172
}

Semantic roles & 50–950 ramp

primary
#4075CC
secondary
#D2BB95
accent
#A747E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4075CC

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

Preview Lab → · Contrast checker → · Palette generator →

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