#4274C7#4274C7

#4274C7 is a mid, vivid blue. Relative luminance 0.178; OKLCH L 56.5% C 0.140 H 260.0°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#4274C7
RGBrgb(66, 116, 199)
HSLhsl(217, 54%, 52%)
HSVhsv(217, 67%, 78%)
CMYKcmyk(66.8%, 41.7%, 0%, 22%)
CIE-LABlab(49.22, 10.20, -48.24)
CIE-LCHlch(49.22, 49.30, 281.94°)
OKLaboklab(56.53% -0.0243 -0.1376)
OKLCHoklch(56.53% 0.14 260)
XYZxyz(18.7973, 17.7707, 56.4612)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4274C7 #C79542
analogous
#42B6C7 #4274C7 #5342C7
triadic
#4274C7 #C74274 #74C742
tetradic
#4274C7 #C742B6 #C79542 #42C753
square
#4274C7 #C742B6 #C79542 #42C753
split-complementary
#4274C7 #C75342 #B6C742
monochromatic
#213E6E #2F589D #4274C7 #7197D5 #A0B9E3

Accessibility & contrast

On white

4.61
#4274C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#4274C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4274C7
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4274C7#FFFFFF#000000##FFFFFF
##4274C71.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D7CCA
Deuteranopia (green-blind)
#386FC5
Tritanopia (blue-blind)
#008794
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4274c7;
/* rgb */ color: rgb(66, 116, 199);
/* oklch */ color: oklch(56.5% 0.140 260.0);
Tailwind
colors: {
  custom: {
    50: '#849bd8',
    500: '#4274c7',
    950: '#000000',
  },
}
SCSS
$custom: #4274c7;
$custom-light: #849bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#4274c7",
  "rgb": {
    "r": 66,
    "g": 116,
    "b": 199
  },
  "hsl": {
    "h": 217.444,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.56531,
    "c": 0.13973,
    "h": 260
  },
  "luminance": 0.17773
}

Semantic roles & 50–950 ramp

primary
#4274C7
secondary
#D0BA95
accent
#A64ADE
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4274C7

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

Preview Lab → · Contrast checker → · Palette generator →

#4274C7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva