#4274C2#4274C2

#4274C2 is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.2% C 0.133 H 259.0°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#4274C2
RGBrgb(66, 116, 194)
HSLhsl(217, 51%, 51%)
HSVhsv(217, 66%, 76%)
CMYKcmyk(66%, 40.2%, 0%, 23.9%)
CIE-LABlab(48.94, 8.43, -45.82)
CIE-LCHlch(48.94, 46.59, 280.43°)
OKLaboklab(56.22% -0.0254 -0.1305)
OKLCHoklch(56.22% 0.133 259)
XYZxyz(18.2263, 17.5423, 53.4539)
Luminance0.1754 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4274C2 #C29042
analogous
#42B4C2 #4274C2 #5042C2
triadic
#4274C2 #C24274 #74C242
tetradic
#4274C2 #C242B4 #C29042 #42C250
square
#4274C2 #C242B4 #C29042 #42C250
split-complementary
#4274C2 #C25042 #B4C242
monochromatic
#223D68 #315896 #4274C2 #7096D1 #9FB8E0

Accessibility & contrast

On white

4.66
#4274C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#4274C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4274C2
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4274C2#FFFFFF#000000##FFFFFF
##4274C21.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#517BC5
Deuteranopia (green-blind)
#3D6FC0
Tritanopia (blue-blind)
#008691
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4274c2;
/* rgb */ color: rgb(66, 116, 194);
/* oklch */ color: oklch(56.2% 0.133 259.0);
Tailwind
colors: {
  custom: {
    50: '#839bd5',
    500: '#4274c2',
    950: '#000000',
  },
}
SCSS
$custom: #4274c2;
$custom-light: #839bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#4274c2",
  "rgb": {
    "r": 66,
    "g": 116,
    "b": 194
  },
  "hsl": {
    "h": 216.563,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.56222,
    "c": 0.13294,
    "h": 259
  },
  "luminance": 0.17544
}

Semantic roles & 50–950 ramp

primary
#4274C2
secondary
#CCB694
accent
#A34DDB
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4274C2

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

Preview Lab → · Contrast checker → · Palette generator →

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