#4073BE#4073BE

#4073BE is a mid, vivid blue. Relative luminance 0.171; OKLCH L 55.7% C 0.129 H 258.0°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#4073BE
RGBrgb(64, 115, 190)
HSLhsl(216, 50%, 50%)
HSVhsv(216, 66%, 75%)
CMYKcmyk(66.3%, 39.5%, 0%, 25.5%)
CIE-LABlab(48.34, 7.29, -44.46)
CIE-LCHlch(48.34, 45.05, 279.32°)
OKLaboklab(55.67% -0.0269 -0.1266)
OKLCHoklch(55.67% 0.129 258)
XYZxyz(17.5360, 17.0674, 51.0754)
Luminance0.1707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4073BE #BE8B40
analogous
#40B2BE #4073BE #4C40BE
triadic
#4073BE #BE4073 #73BE40
tetradic
#4073BE #BE40B2 #BE8B40 #40BE4C
square
#4073BE #BE40B2 #BE8B40 #40BE4C
split-complementary
#4073BE #BE4C40 #B2BE40
monochromatic
#213C62 #315790 #4073BE #6D94CE #9BB6DD

Accessibility & contrast

On white

4.76
#4073BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#4073BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4073BE
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4073BE#FFFFFF#000000##FFFFFF
##4073BE1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5179C1
Deuteranopia (green-blind)
#3F6DBC
Tritanopia (blue-blind)
#00848F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4073be;
/* rgb */ color: rgb(64, 115, 190);
/* oklch */ color: oklch(55.7% 0.129 258.0);
Tailwind
colors: {
  custom: {
    50: '#829ad2',
    500: '#4073be',
    950: '#000000',
  },
}
SCSS
$custom: #4073be;
$custom-light: #829ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#4073be",
  "rgb": {
    "r": 64,
    "g": 115,
    "b": 190
  },
  "hsl": {
    "h": 215.714,
    "s": 49.606,
    "l": 49.804
  },
  "oklch": {
    "l": 0.55668,
    "c": 0.12938,
    "h": 258
  },
  "luminance": 0.17069
}

Semantic roles & 50–950 ramp

primary
#4073BE
secondary
#C9B290
accent
#A14FD9
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #4073BE

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

Preview Lab → · Contrast checker → · Palette generator →

#4073BE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva