#4074AB#4074AB

#4074AB is a mid, moderate cyan. Relative luminance 0.165; OKLCH L 54.8% C 0.103 H 251.4°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#4074AB
RGBrgb(64, 116, 171)
HSLhsl(211, 46%, 46%)
HSVhsv(211, 63%, 67%)
CMYKcmyk(62.6%, 32.2%, 0%, 32.9%)
CIE-LABlab(47.65, 0.04, -34.54)
CIE-LCHlch(47.65, 34.54, 270.06°)
OKLaboklab(54.8% -0.0328 -0.0976)
OKLCHoklch(54.8% 0.103 251.4)
XYZxyz(15.7078, 16.5196, 40.8810)
Luminance0.1652 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4074AB #AB7740
analogous
#40A9AB #4074AB #4140AB
triadic
#4074AB #AB4074 #74AB40
tetradic
#4074AB #AB40A9 #AB7740 #40AB41
square
#4074AB #AB40A9 #AB7740 #40AB41
split-complementary
#4074AB #AB4140 #A9AB40
monochromatic
#1F3852 #2F567E #4074AB #6393C5 #90B2D5

Accessibility & contrast

On white

4.88
#4074AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#4074AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4074AB
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4074AB#FFFFFF#000000##FFFFFF
##4074AB1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C77AD
Deuteranopia (green-blind)
#4E6CAA
Tritanopia (blue-blind)
#008188
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4074ab;
/* rgb */ color: rgb(64, 116, 171);
/* oklch */ color: oklch(54.8% 0.103 251.4);
Tailwind
colors: {
  custom: {
    50: '#7f9bc4',
    500: '#4074ab',
    950: '#000000',
  },
}
SCSS
$custom: #4074ab;
$custom-light: #7f9bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#4074ab",
  "rgb": {
    "r": 64,
    "g": 116,
    "b": 171
  },
  "hsl": {
    "h": 210.841,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54802,
    "c": 0.10297,
    "h": 251.4
  },
  "luminance": 0.16521
}

Semantic roles & 50–950 ramp

primary
#4074AB
secondary
#C1A486
accent
#9653D5
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0E12
muted
#7C7E81

Preview Lab

Preview with #4074AB

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

Preview Lab → · Contrast checker → · Palette generator →

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