#4074AF#4074AF

#4074AF is a mid, moderate cyan. Relative luminance 0.167; OKLCH L 55.0% C 0.108 H 253.0°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#4074AF
RGBrgb(64, 116, 175)
HSLhsl(212, 46%, 47%)
HSVhsv(212, 63%, 69%)
CMYKcmyk(63.4%, 33.7%, 0%, 31.4%)
CIE-LABlab(47.85, 1.42, -36.56)
CIE-LCHlch(47.85, 36.59, 272.22°)
OKLaboklab(55.02% -0.0317 -0.1035)
OKLCHoklch(55.02% 0.108 253)
XYZxyz(16.0948, 16.6744, 42.9194)
Luminance0.1668 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4074AF #AF7B40
analogous
#40ACAF #4074AF #4440AF
triadic
#4074AF #AF4074 #74AF40
tetradic
#4074AF #AF40AC #AF7B40 #40AF44
square
#4074AF #AF40AC #AF7B40 #40AF44
split-complementary
#4074AF #AF4440 #ACAF40
monochromatic
#1F3955 #305682 #4074AF #6593C7 #92B3D7

Accessibility & contrast

On white

4.84
#4074AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#4074AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4074AF
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4074AF#FFFFFF#000000##FFFFFF
##4074AF1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B77B1
Deuteranopia (green-blind)
#4C6DAE
Tritanopia (blue-blind)
#008289
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4074af;
/* rgb */ color: rgb(64, 116, 175);
/* oklch */ color: oklch(55.0% 0.108 253.0);
Tailwind
colors: {
  custom: {
    50: '#7f9bc7',
    500: '#4074af',
    950: '#000000',
  },
}
SCSS
$custom: #4074af;
$custom-light: #7f9bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#4074af",
  "rgb": {
    "r": 64,
    "g": 116,
    "b": 175
  },
  "hsl": {
    "h": 211.892,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.55023,
    "c": 0.10821,
    "h": 253
  },
  "luminance": 0.16676
}

Semantic roles & 50–950 ramp

primary
#4074AF
secondary
#C3A788
accent
#9852D6
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #4074AF

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

Preview Lab → · Contrast checker → · Palette generator →

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