#4075C0#4075C0

#4075C0 is a mid, vivid blue. Relative luminance 0.176; OKLCH L 56.2% C 0.130 H 257.4°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#4075C0
RGBrgb(64, 117, 192)
HSLhsl(215, 50%, 50%)
HSVhsv(215, 67%, 75%)
CMYKcmyk(66.7%, 39.1%, 0%, 24.7%)
CIE-LABlab(49.03, 6.77, -44.53)
CIE-LCHlch(49.03, 45.04, 278.64°)
OKLaboklab(56.24% -0.0284 -0.1267)
OKLCHoklch(56.24% 0.13 257.4)
XYZxyz(17.9866, 17.6165, 52.3114)
Luminance0.1762 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4075C0 #C08B40
analogous
#40B5C0 #4075C0 #4B40C0
triadic
#4075C0 #C04075 #75C040
tetradic
#4075C0 #C040B5 #C08B40 #40C04B
square
#4075C0 #C040B5 #C08B40 #40C04B
split-complementary
#4075C0 #C04B40 #B5C040
monochromatic
#213D64 #305992 #4075C0 #6E96CF #9CB8DE

Accessibility & contrast

On white

4.64
#4075C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#4075C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4075C0
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4075C0#FFFFFF#000000##FFFFFF
##4075C01.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#537BC3
Deuteranopia (green-blind)
#406FBE
Tritanopia (blue-blind)
#008691
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4075c0;
/* rgb */ color: rgb(64, 117, 192);
/* oklch */ color: oklch(56.2% 0.130 257.4);
Tailwind
colors: {
  custom: {
    50: '#829cd3',
    500: '#4075c0',
    950: '#000000',
  },
}
SCSS
$custom: #4075c0;
$custom-light: #829cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#4075c0",
  "rgb": {
    "r": 64,
    "g": 117,
    "b": 192
  },
  "hsl": {
    "h": 215.156,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56235,
    "c": 0.12988,
    "h": 257.4
  },
  "luminance": 0.17618
}

Semantic roles & 50–950 ramp

primary
#4075C0
secondary
#CBB391
accent
#A04EDA
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4075C0

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

Preview Lab → · Contrast checker → · Palette generator →

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