#4075C9#4075C9

#4075C9 is a mid, vivid blue. Relative luminance 0.180; OKLCH L 56.8% C 0.142 H 259.3°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#4075C9
RGBrgb(64, 117, 201)
HSLhsl(217, 56%, 52%)
HSVhsv(217, 68%, 79%)
CMYKcmyk(68.2%, 41.8%, 0%, 21.2%)
CIE-LABlab(49.53, 9.97, -48.89)
CIE-LCHlch(49.53, 49.89, 281.53°)
OKLaboklab(56.79% -0.0265 -0.1395)
OKLCHoklch(56.79% 0.142 259.3)
XYZxyz(19.0145, 18.0277, 57.7246)
Luminance0.1803 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4075C9 #C99440
analogous
#40BAC9 #4075C9 #5040C9
triadic
#4075C9 #C94075 #75C940
tetradic
#4075C9 #C940BA #C99440 #40C950
square
#4075C9 #C940BA #C99440 #40C950
split-complementary
#4075C9 #C95040 #BAC940
monochromatic
#1F3E6F #2D599F #4075C9 #7097D6 #9FBAE4

Accessibility & contrast

On white

4.56
#4075C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#4075C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4075C9
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4075C9#FFFFFF#000000##000000
##4075C91.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7DCC
Deuteranopia (green-blind)
#3770C7
Tritanopia (blue-blind)
#008895
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4075c9;
/* rgb */ color: rgb(64, 117, 201);
/* oklch */ color: oklch(56.8% 0.142 259.3);
Tailwind
colors: {
  custom: {
    50: '#849cda',
    500: '#4075c9',
    950: '#000000',
  },
}
SCSS
$custom: #4075c9;
$custom-light: #849cda;
$custom-dark: #000000;
JSON
{
  "hex": "#4075c9",
  "rgb": {
    "r": 64,
    "g": 117,
    "b": 201
  },
  "hsl": {
    "h": 216.788,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.56787,
    "c": 0.14201,
    "h": 259.3
  },
  "luminance": 0.1803
}

Semantic roles & 50–950 ramp

primary
#4075C9
secondary
#D0B994
accent
#A549DF
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4075C9

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

Preview Lab → · Contrast checker → · Palette generator →

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