#4073BB#4073BB

#4073BB is a mid, vivid blue. Relative luminance 0.169; OKLCH L 55.5% C 0.125 H 257.3°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#4073BB
RGBrgb(64, 115, 187)
HSLhsl(215, 49%, 49%)
HSVhsv(215, 66%, 73%)
CMYKcmyk(65.8%, 38.5%, 0%, 26.7%)
CIE-LABlab(48.18, 6.23, -42.99)
CIE-LCHlch(48.18, 43.44, 278.25°)
OKLaboklab(55.49% -0.0276 -0.1222)
OKLCHoklch(55.49% 0.125 257.3)
XYZxyz(17.2115, 16.9376, 49.3663)
Luminance0.1694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4073BB #BB8840
analogous
#40B1BB #4073BB #4B40BB
triadic
#4073BB #BB4073 #73BB40
tetradic
#4073BB #BB40B1 #BB8840 #40BB4B
square
#4073BB #BB40B1 #BB8840 #40BB4B
split-complementary
#4073BB #BB4B40 #B1BB40
monochromatic
#213B60 #30578D #4073BB #6C94CD #99B5DC

Accessibility & contrast

On white

4.79
#4073BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#4073BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4073BB
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4073BB#FFFFFF#000000##FFFFFF
##4073BB1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5379BE
Deuteranopia (green-blind)
#416DBA
Tritanopia (blue-blind)
#00848E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4073bb;
/* rgb */ color: rgb(64, 115, 187);
/* oklch */ color: oklch(55.5% 0.125 257.3);
Tailwind
colors: {
  custom: {
    50: '#819ad0',
    500: '#4073bb',
    950: '#000000',
  },
}
SCSS
$custom: #4073bb;
$custom-light: #819ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#4073bb",
  "rgb": {
    "r": 64,
    "g": 115,
    "b": 187
  },
  "hsl": {
    "h": 215.122,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.55488,
    "c": 0.12532,
    "h": 257.3
  },
  "luminance": 0.16939
}

Semantic roles & 50–950 ramp

primary
#4073BB
secondary
#C8B08F
accent
#A04FD9
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #4073BB

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

Preview Lab → · Contrast checker → · Palette generator →

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