#4075CB#4075CB

#4075CB is a mid, vivid blue. Relative luminance 0.181; OKLCH L 56.9% C 0.145 H 259.6°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#4075CB
RGBrgb(64, 117, 203)
HSLhsl(217, 57%, 52%)
HSVhsv(217, 68%, 80%)
CMYKcmyk(68.5%, 42.4%, 0%, 20.4%)
CIE-LABlab(49.64, 10.69, -49.85)
CIE-LCHlch(49.64, 50.98, 282.10°)
OKLaboklab(56.91% -0.0261 -0.1423)
OKLCHoklch(56.91% 0.145 259.6)
XYZxyz(19.2513, 18.1224, 58.9717)
Luminance0.1812 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4075CB #CB9640
analogous
#40BBCB #4075CB #5040CB
triadic
#4075CB #CB4075 #75CB40
tetradic
#4075CB #CB40BB #CB9640 #40CB50
square
#4075CB #CB40BB #CB9640 #40CB50
split-complementary
#4075CB #CB5040 #BBCB40
monochromatic
#1F3E72 #2C59A2 #4075CB #7098D8 #A0BBE5

Accessibility & contrast

On white

4.54
#4075CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#4075CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4075CB
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4075CB#FFFFFF#000000##000000
##4075CB1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7DCE
Deuteranopia (green-blind)
#3570C9
Tritanopia (blue-blind)
#008996
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4075cb;
/* rgb */ color: rgb(64, 117, 203);
/* oklch */ color: oklch(56.9% 0.145 259.6);
Tailwind
colors: {
  custom: {
    50: '#849cdb',
    500: '#4075cb',
    950: '#000000',
  },
}
SCSS
$custom: #4075cb;
$custom-light: #849cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4075cb",
  "rgb": {
    "r": 64,
    "g": 117,
    "b": 203
  },
  "hsl": {
    "h": 217.122,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.56913,
    "c": 0.14471,
    "h": 259.6
  },
  "luminance": 0.18124
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4075CB

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

Preview Lab → · Contrast checker → · Palette generator →

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