#4A7FBE#4A7FBE

#4A7FBE is a mid, moderate cyan. Relative luminance 0.204; OKLCH L 58.8% C 0.113 H 253.8°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#4A7FBE
RGBrgb(74, 127, 190)
HSLhsl(213, 47%, 52%)
HSVhsv(213, 61%, 75%)
CMYKcmyk(61.1%, 33.2%, 0%, 25.5%)
CIE-LABlab(52.23, 1.82, -38.28)
CIE-LCHlch(52.23, 38.33, 272.73°)
OKLaboklab(58.82% -0.0314 -0.1082)
OKLCHoklch(58.82% 0.113 253.8)
XYZxyz(19.7043, 20.3505, 51.5949)
Luminance0.2035 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7FBE #BE894A
analogous
#4AB9BE #4A7FBE #4F4ABE
triadic
#4A7FBE #BE4A7F #7FBE4A
tetradic
#4A7FBE #BE4AB9 #BE894A #4ABE4F
square
#4A7FBE #BE4AB9 #BE894A #4ABE4F
split-complementary
#4A7FBE #BE4F4A #B9BE4A
monochromatic
#254468 #366195 #4A7FBE #779FCE #A4BFDE

Accessibility & contrast

On white

4.14
#4A7FBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#4A7FBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7FBE
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7FBE#FFFFFF#000000##000000
##4A7FBE1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6483C1
Deuteranopia (green-blind)
#5578BD
Tritanopia (blue-blind)
#008D96
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4a7fbe;
/* rgb */ color: rgb(74, 127, 190);
/* oklch */ color: oklch(58.8% 0.113 253.8);
Tailwind
colors: {
  custom: {
    50: '#86a3d2',
    500: '#4a7fbe',
    950: '#000000',
  },
}
SCSS
$custom: #4a7fbe;
$custom-light: #86a3d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7fbe",
  "rgb": {
    "r": 74,
    "g": 127,
    "b": 190
  },
  "hsl": {
    "h": 212.586,
    "s": 47.154,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58818,
    "c": 0.11268,
    "h": 253.8
  },
  "luminance": 0.20352
}

Semantic roles & 50–950 ramp

primary
#4A7FBE
secondary
#CBB498
accent
#9A51D7
background
#F8FAFC
surface
#F0F3F9
border
#CBCDD2
text
#0C0F14
muted
#7D7F82

Preview Lab

Preview with #4A7FBE

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

Preview Lab → · Contrast checker → · Palette generator →

#4A7FBE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva