#4075C8#4075C8

#4075C8 is a mid, vivid blue. Relative luminance 0.180; OKLCH L 56.7% C 0.141 H 259.1°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#4075C8
RGBrgb(64, 117, 200)
HSLhsl(217, 55%, 52%)
HSVhsv(217, 68%, 78%)
CMYKcmyk(68%, 41.5%, 0%, 21.6%)
CIE-LABlab(49.47, 9.62, -48.41)
CIE-LCHlch(49.47, 49.35, 281.23°)
OKLaboklab(56.73% -0.0267 -0.1381)
OKLCHoklch(56.73% 0.141 259.1)
XYZxyz(18.8972, 17.9808, 57.1071)
Luminance0.1798 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4075C8 #C89340
analogous
#40B9C8 #4075C8 #4F40C8
triadic
#4075C8 #C84075 #75C840
tetradic
#4075C8 #C840B9 #C89340 #40C84F
square
#4075C8 #C840B9 #C89340 #40C84F
split-complementary
#4075C8 #C84F40 #B9C840
monochromatic
#203E6E #2D599D #4075C8 #7097D6 #9FBAE3

Accessibility & contrast

On white

4.57
#4075C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#4075C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4075C8
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4075C8#FFFFFF#000000##000000
##4075C81.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7CCB
Deuteranopia (green-blind)
#3970C6
Tritanopia (blue-blind)
#008895
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4075c8;
/* rgb */ color: rgb(64, 117, 200);
/* oklch */ color: oklch(56.7% 0.141 259.1);
Tailwind
colors: {
  custom: {
    50: '#839cd9',
    500: '#4075c8',
    950: '#000000',
  },
}
SCSS
$custom: #4075c8;
$custom-light: #839cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#4075c8",
  "rgb": {
    "r": 64,
    "g": 117,
    "b": 200
  },
  "hsl": {
    "h": 216.618,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.56725,
    "c": 0.14066,
    "h": 259.1
  },
  "luminance": 0.17983
}

Semantic roles & 50–950 ramp

primary
#4075C8
secondary
#D0B894
accent
#A449DF
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4075C8

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

Preview Lab → · Contrast checker → · Palette generator →

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