#4074C1#4074C1

#4074C1 is a mid, vivid blue. Relative luminance 0.174; OKLCH L 56.1% C 0.132 H 258.1°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#4074C1
RGBrgb(64, 116, 193)
HSLhsl(216, 51%, 50%)
HSVhsv(216, 67%, 76%)
CMYKcmyk(66.8%, 39.9%, 0%, 24.3%)
CIE-LABlab(48.80, 7.74, -45.47)
CIE-LCHlch(48.80, 46.12, 279.66°)
OKLaboklab(56.07% -0.0272 -0.1295)
OKLCHoklch(56.07% 0.132 258.1)
XYZxyz(17.9819, 17.4292, 52.8583)
Luminance0.1743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4074C1 #C18D40
analogous
#40B4C1 #4074C1 #4C40C1
triadic
#4074C1 #C14074 #74C140
tetradic
#4074C1 #C140B4 #C18D40 #40C14C
square
#4074C1 #C140B4 #C18D40 #40C14C
split-complementary
#4074C1 #C14C40 #B4C140
monochromatic
#213D66 #305894 #4074C1 #6E96D0 #9CB7DF

Accessibility & contrast

On white

4.68
#4074C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#4074C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4074C1
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4074C1#FFFFFF#000000##FFFFFF
##4074C11.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#517AC4
Deuteranopia (green-blind)
#3E6EBF
Tritanopia (blue-blind)
#008691
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4074c1;
/* rgb */ color: rgb(64, 116, 193);
/* oklch */ color: oklch(56.1% 0.132 258.1);
Tailwind
colors: {
  custom: {
    50: '#829bd4',
    500: '#4074c1',
    950: '#000000',
  },
}
SCSS
$custom: #4074c1;
$custom-light: #829bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#4074c1",
  "rgb": {
    "r": 64,
    "g": 116,
    "b": 193
  },
  "hsl": {
    "h": 215.814,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56073,
    "c": 0.13233,
    "h": 258.1
  },
  "luminance": 0.17431
}

Semantic roles & 50–950 ramp

primary
#4074C1
secondary
#CBB492
accent
#A24DDA
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4074C1

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

Preview Lab → · Contrast checker → · Palette generator →

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