#4074B7#4074B7

#4074B7 is a mid, moderate cyan. Relative luminance 0.170; OKLCH L 55.5% C 0.119 H 255.6°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#4074B7
RGBrgb(64, 116, 183)
HSLhsl(214, 48%, 48%)
HSVhsv(214, 65%, 72%)
CMYKcmyk(65%, 36.6%, 0%, 28.2%)
CIE-LABlab(48.26, 4.21, -40.55)
CIE-LCHlch(48.26, 40.77, 275.93°)
OKLaboklab(55.48% -0.0296 -0.1151)
OKLCHoklch(55.48% 0.119 255.6)
XYZxyz(16.9039, 16.9980, 47.1807)
Luminance0.1700 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4074B7 #B78340
analogous
#40AFB7 #4074B7 #4840B7
triadic
#4074B7 #B74074 #74B740
tetradic
#4074B7 #B740AF #B78340 #40B748
square
#4074B7 #B740AF #B78340 #40B748
split-complementary
#4074B7 #B74840 #AFB740
monochromatic
#203B5C #30578A #4074B7 #6994CB #97B4DB

Accessibility & contrast

On white

4.77
#4074B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#4074B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4074B7
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4074B7#FFFFFF#000000##FFFFFF
##4074B71.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5779BA
Deuteranopia (green-blind)
#466DB6
Tritanopia (blue-blind)
#00838D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4074b7;
/* rgb */ color: rgb(64, 116, 183);
/* oklch */ color: oklch(55.5% 0.119 255.6);
Tailwind
colors: {
  custom: {
    50: '#819bcd',
    500: '#4074b7',
    950: '#000000',
  },
}
SCSS
$custom: #4074b7;
$custom-light: #819bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#4074b7",
  "rgb": {
    "r": 64,
    "g": 116,
    "b": 183
  },
  "hsl": {
    "h": 213.782,
    "s": 48.178,
    "l": 48.431
  },
  "oklch": {
    "l": 0.55478,
    "c": 0.11886,
    "h": 255.6
  },
  "luminance": 0.17
}

Semantic roles & 50–950 ramp

primary
#4074B7
secondary
#C6AD8D
accent
#9C50D8
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #4074B7

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

Preview Lab → · Contrast checker → · Palette generator →

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