#4072CA#4072CA

#4072CA is a mid, vivid blue. Relative luminance 0.174; OKLCH L 56.2% C 0.147 H 260.8°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#4072CA
RGBrgb(64, 114, 202)
HSLhsl(218, 57%, 52%)
HSVhsv(218, 68%, 79%)
CMYKcmyk(68.3%, 43.6%, 0%, 20.8%)
CIE-LABlab(48.74, 12.20, -50.71)
CIE-LCHlch(48.74, 52.16, 283.52°)
OKLaboklab(56.2% -0.0234 -0.1449)
OKLCHoklch(56.2% 0.147 260.8)
XYZxyz(18.7885, 17.3870, 58.2315)
Luminance0.1739 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4072CA #CA9840
analogous
#40B7CA #4072CA #5340CA
triadic
#4072CA #CA4072 #72CA40
tetradic
#4072CA #CA40B7 #CA9840 #40CA53
square
#4072CA #CA40B7 #CA9840 #40CA53
split-complementary
#4072CA #CA5340 #B7CA40
monochromatic
#1F3D70 #2C56A0 #4072CA #7095D7 #A0B9E5

Accessibility & contrast

On white

4.69
#4072CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#4072CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4072CA
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4072CA#FFFFFF#000000##FFFFFF
##4072CA1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#487BCD
Deuteranopia (green-blind)
#306EC8
Tritanopia (blue-blind)
#008694
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4072ca;
/* rgb */ color: rgb(64, 114, 202);
/* oklch */ color: oklch(56.2% 0.147 260.8);
Tailwind
colors: {
  custom: {
    50: '#849adb',
    500: '#4072ca',
    950: '#000000',
  },
}
SCSS
$custom: #4072ca;
$custom-light: #849adb;
$custom-dark: #000000;
JSON
{
  "hex": "#4072ca",
  "rgb": {
    "r": 64,
    "g": 114,
    "b": 202
  },
  "hsl": {
    "h": 218.261,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.56199,
    "c": 0.14681,
    "h": 260.8
  },
  "luminance": 0.17389
}

Semantic roles & 50–950 ramp

primary
#4072CA
secondary
#D1BB95
accent
#A948E0
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #4072CA

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

Preview Lab → · Contrast checker → · Palette generator →

#4072CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva