#4074BA#4074BA

#4074BA is a mid, vivid cyan. Relative luminance 0.171; OKLCH L 55.7% C 0.123 H 256.4°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#4074BA
RGBrgb(64, 116, 186)
HSLhsl(214, 49%, 49%)
HSVhsv(214, 66%, 73%)
CMYKcmyk(65.6%, 37.6%, 0%, 27.1%)
CIE-LABlab(48.42, 5.26, -42.04)
CIE-LCHlch(48.42, 42.37, 277.14°)
OKLaboklab(55.65% -0.0288 -0.1195)
OKLCHoklch(55.65% 0.123 256.4)
XYZxyz(17.2195, 17.1243, 48.8427)
Luminance0.1713 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4074BA #BA8640
analogous
#40B1BA #4074BA #4940BA
triadic
#4074BA #BA4074 #74BA40
tetradic
#4074BA #BA40B1 #BA8640 #40BA49
square
#4074BA #BA40B1 #BA8640 #40BA49
split-complementary
#4074BA #BA4940 #B1BA40
monochromatic
#213B5F #30588C #4074BA #6B94CC #99B5DC

Accessibility & contrast

On white

4.75
#4074BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4074BA
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4074BA#FFFFFF#000000##FFFFFF
##4074BA1.004.754.434.75
#FFFFFF4.751.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5579BD
Deuteranopia (green-blind)
#446EB9
Tritanopia (blue-blind)
#00848E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4074ba;
/* rgb */ color: rgb(64, 116, 186);
/* oklch */ color: oklch(55.7% 0.123 256.4);
Tailwind
colors: {
  custom: {
    50: '#819bcf',
    500: '#4074ba',
    950: '#000000',
  },
}
SCSS
$custom: #4074ba;
$custom-light: #819bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#4074ba",
  "rgb": {
    "r": 64,
    "g": 116,
    "b": 186
  },
  "hsl": {
    "h": 214.426,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.55653,
    "c": 0.12289,
    "h": 256.4
  },
  "luminance": 0.17126
}

Semantic roles & 50–950 ramp

primary
#4074BA
secondary
#C8AF8E
accent
#9E4FD8
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #4074BA

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

Preview Lab → · Contrast checker → · Palette generator →

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