#4075CE#4075CE

#4075CE is a mid, vivid blue. Relative luminance 0.183; OKLCH L 57.1% C 0.149 H 260.1°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#4075CE
RGBrgb(64, 117, 206)
HSLhsl(218, 59%, 53%)
HSVhsv(218, 69%, 81%)
CMYKcmyk(68.9%, 43.2%, 0%, 19.2%)
CIE-LABlab(49.82, 11.76, -51.28)
CIE-LCHlch(49.82, 52.61, 282.92°)
OKLaboklab(57.1% -0.0255 -0.1466)
OKLCHoklch(57.1% 0.149 260.1)
XYZxyz(19.6122, 18.2668, 60.8728)
Luminance0.1827 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4075CE #CE9940
analogous
#40BCCE #4075CE #5240CE
triadic
#4075CE #CE4075 #75CE40
tetradic
#4075CE #CE40BC #CE9940 #40CE52
square
#4075CE #CE40BC #CE9940 #40CE52
split-complementary
#4075CE #CE5240 #BCCE40
monochromatic
#1E3F75 #2B59A6 #4075CE #7198DA #A1BBE7

Accessibility & contrast

On white

4.51
#4075CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#4075CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4075CE
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4075CE#FFFFFF#000000##000000
##4075CE1.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7ED1
Deuteranopia (green-blind)
#3170CC
Tritanopia (blue-blind)
#008A97
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4075ce;
/* rgb */ color: rgb(64, 117, 206);
/* oklch */ color: oklch(57.1% 0.149 260.1);
Tailwind
colors: {
  custom: {
    50: '#859cdd',
    500: '#4075ce',
    950: '#000000',
  },
}
SCSS
$custom: #4075ce;
$custom-light: #859cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4075ce",
  "rgb": {
    "r": 64,
    "g": 117,
    "b": 206
  },
  "hsl": {
    "h": 217.606,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.57103,
    "c": 0.14875,
    "h": 260.1
  },
  "luminance": 0.18269
}

Semantic roles & 50–950 ramp

primary
#4075CE
secondary
#D4BD96
accent
#A845E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4075CE

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

Preview Lab → · Contrast checker → · Palette generator →

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