#4074B2#4074B2

#4074B2 is a mid, moderate cyan. Relative luminance 0.168; OKLCH L 55.2% C 0.112 H 254.0°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#4074B2
RGBrgb(64, 116, 178)
HSLhsl(213, 47%, 47%)
HSVhsv(213, 64%, 70%)
CMYKcmyk(64%, 34.8%, 0%, 30.2%)
CIE-LABlab(48.00, 2.46, -38.07)
CIE-LCHlch(48.00, 38.15, 273.70°)
OKLaboklab(55.19% -0.0309 -0.1078)
OKLCHoklch(55.19% 0.112 254)
XYZxyz(16.3927, 16.7935, 44.4884)
Luminance0.1679 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4074B2 #B27E40
analogous
#40ADB2 #4074B2 #4540B2
triadic
#4074B2 #B24074 #74B240
tetradic
#4074B2 #B240AD #B27E40 #40B245
square
#4074B2 #B240AD #B27E40 #40B245
split-complementary
#4074B2 #B24540 #ADB240
monochromatic
#203958 #305785 #4074B2 #6793C8 #94B3D8

Accessibility & contrast

On white

4.82
#4074B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#4074B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4074B2
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4074B2#FFFFFF#000000##FFFFFF
##4074B21.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5978B5
Deuteranopia (green-blind)
#4A6DB1
Tritanopia (blue-blind)
#00828B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4074b2;
/* rgb */ color: rgb(64, 116, 178);
/* oklch */ color: oklch(55.2% 0.112 254.0);
Tailwind
colors: {
  custom: {
    50: '#809bc9',
    500: '#4074b2',
    950: '#000000',
  },
}
SCSS
$custom: #4074b2;
$custom-light: #809bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#4074b2",
  "rgb": {
    "r": 64,
    "g": 116,
    "b": 178
  },
  "hsl": {
    "h": 212.632,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55191,
    "c": 0.11218,
    "h": 254
  },
  "luminance": 0.16795
}

Semantic roles & 50–950 ramp

primary
#4074B2
secondary
#C4A98A
accent
#9A51D7
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #4074B2

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

Preview Lab → · Contrast checker → · Palette generator →

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