#4074BB#4074BB

#4074BB is a mid, vivid cyan. Relative luminance 0.172; OKLCH L 55.7% C 0.124 H 256.7°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#4074BB
RGBrgb(64, 116, 187)
HSLhsl(215, 49%, 49%)
HSVhsv(215, 66%, 73%)
CMYKcmyk(65.8%, 38%, 0%, 26.7%)
CIE-LABlab(48.47, 5.62, -42.53)
CIE-LCHlch(48.47, 42.90, 277.52°)
OKLaboklab(55.71% -0.0286 -0.1209)
OKLCHoklch(55.71% 0.124 256.7)
XYZxyz(17.3262, 17.1669, 49.4045)
Luminance0.1717 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4074BB #BB8740
analogous
#40B2BB #4074BB #4A40BB
triadic
#4074BB #BB4074 #74BB40
tetradic
#4074BB #BB40B2 #BB8740 #40BB4A
square
#4074BB #BB40B2 #BB8740 #40BB4A
split-complementary
#4074BB #BB4A40 #B2BB40
monochromatic
#213B60 #30588D #4074BB #6C95CD #99B6DC

Accessibility & contrast

On white

4.74
#4074BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#4074BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4074BB
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4074BB#FFFFFF#000000##FFFFFF
##4074BB1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5579BE
Deuteranopia (green-blind)
#436EBA
Tritanopia (blue-blind)
#00848E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4074bb;
/* rgb */ color: rgb(64, 116, 187);
/* oklch */ color: oklch(55.7% 0.124 256.7);
Tailwind
colors: {
  custom: {
    50: '#819bd0',
    500: '#4074bb',
    950: '#000000',
  },
}
SCSS
$custom: #4074bb;
$custom-light: #819bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4074bb",
  "rgb": {
    "r": 64,
    "g": 116,
    "b": 187
  },
  "hsl": {
    "h": 214.634,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.55712,
    "c": 0.12423,
    "h": 256.7
  },
  "luminance": 0.17169
}

Semantic roles & 50–950 ramp

primary
#4074BB
secondary
#C8B08F
accent
#9F4FD9
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #4074BB

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

Preview Lab → · Contrast checker → · Palette generator →

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