#4075C2#4075C2

#4075C2 is a mid, vivid blue. Relative luminance 0.177; OKLCH L 56.4% C 0.133 H 257.8°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#4075C2
RGBrgb(64, 117, 194)
HSLhsl(216, 52%, 51%)
HSVhsv(216, 67%, 76%)
CMYKcmyk(67%, 39.7%, 0%, 23.9%)
CIE-LABlab(49.14, 7.48, -45.50)
CIE-LCHlch(49.14, 46.11, 279.33°)
OKLaboklab(56.36% -0.028 -0.1296)
OKLCHoklch(56.36% 0.133 257.8)
XYZxyz(18.2097, 17.7058, 53.4864)
Luminance0.1771 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4075C2 #C28D40
analogous
#40B6C2 #4075C2 #4C40C2
triadic
#4075C2 #C24075 #75C240
tetradic
#4075C2 #C240B6 #C28D40 #40C24C
square
#4075C2 #C240B6 #C28D40 #40C24C
split-complementary
#4075C2 #C24C40 #B6C240
monochromatic
#213D67 #305995 #4075C2 #6E97D1 #9DB8E0

Accessibility & contrast

On white

4.62
#4075C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#4075C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4075C2
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4075C2#FFFFFF#000000##FFFFFF
##4075C21.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#527BC5
Deuteranopia (green-blind)
#3F6FC0
Tritanopia (blue-blind)
#008792
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4075c2;
/* rgb */ color: rgb(64, 117, 194);
/* oklch */ color: oklch(56.4% 0.133 257.8);
Tailwind
colors: {
  custom: {
    50: '#829cd5',
    500: '#4075c2',
    950: '#000000',
  },
}
SCSS
$custom: #4075c2;
$custom-light: #829cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#4075c2",
  "rgb": {
    "r": 64,
    "g": 117,
    "b": 194
  },
  "hsl": {
    "h": 215.538,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56355,
    "c": 0.13257,
    "h": 257.8
  },
  "luminance": 0.17708
}

Semantic roles & 50–950 ramp

primary
#4075C2
secondary
#CCB492
accent
#A14DDB
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4075C2

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

Preview Lab → · Contrast checker → · Palette generator →

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