#4074C3#4074C3

#4074C3 is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.2% C 0.135 H 258.6°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#4074C3
RGBrgb(64, 116, 195)
HSLhsl(216, 52%, 51%)
HSVhsv(216, 67%, 76%)
CMYKcmyk(67.2%, 40.5%, 0%, 23.5%)
CIE-LABlab(48.91, 8.45, -46.44)
CIE-LCHlch(48.91, 47.20, 280.31°)
OKLaboklab(56.19% -0.0267 -0.1324)
OKLCHoklch(56.19% 0.135 258.6)
XYZxyz(18.2065, 17.5191, 54.0412)
Luminance0.1752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4074C3 #C38F40
analogous
#40B5C3 #4074C3 #4D40C3
triadic
#4074C3 #C34074 #74C340
tetradic
#4074C3 #C340B5 #C38F40 #40C34D
square
#4074C3 #C340B5 #C38F40 #40C34D
split-complementary
#4074C3 #C34D40 #B5C340
monochromatic
#213D68 #2F5897 #4074C3 #6F96D2 #9DB8E0

Accessibility & contrast

On white

4.66
#4074C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#4074C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4074C3
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4074C3#FFFFFF#000000##FFFFFF
##4074C31.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#507BC6
Deuteranopia (green-blind)
#3C6FC1
Tritanopia (blue-blind)
#008692
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4074c3;
/* rgb */ color: rgb(64, 116, 195);
/* oklch */ color: oklch(56.2% 0.135 258.6);
Tailwind
colors: {
  custom: {
    50: '#839bd5',
    500: '#4074c3',
    950: '#000000',
  },
}
SCSS
$custom: #4074c3;
$custom-light: #839bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#4074c3",
  "rgb": {
    "r": 64,
    "g": 116,
    "b": 195
  },
  "hsl": {
    "h": 216.183,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.56195,
    "c": 0.13504,
    "h": 258.6
  },
  "luminance": 0.17521
}

Semantic roles & 50–950 ramp

primary
#4074C3
secondary
#CCB592
accent
#A34CDC
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4074C3

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

Preview Lab → · Contrast checker → · Palette generator →

#4074C3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva