#4274D4#4274D4

#4274D4 is a mid, vivid blue. Relative luminance 0.184; OKLCH L 57.4% C 0.157 H 262.0°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#4274D4
RGBrgb(66, 116, 212)
HSLhsl(219, 63%, 55%)
HSVhsv(219, 69%, 83%)
CMYKcmyk(68.9%, 45.3%, 0%, 16.9%)
CIE-LABlab(49.98, 14.84, -54.43)
CIE-LCHlch(49.98, 56.42, 285.25°)
OKLaboklab(57.36% -0.0219 -0.1558)
OKLCHoklch(57.36% 0.157 262)
XYZxyz(20.3716, 18.4004, 64.7526)
Luminance0.1840 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4274D4 #D4A242
analogous
#42BDD4 #4274D4 #5942D4
triadic
#4274D4 #D44274 #74D442
tetradic
#4274D4 #D442BD #D4A242 #42D459
square
#4274D4 #D442BD #D4A242 #42D459
split-complementary
#4274D4 #D45942 #BDD442
monochromatic
#1D3E7F #2857B1 #4274D4 #7499DF #A6BDEB

Accessibility & contrast

On white

4.49
#4274D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#4274D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4274D4
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4274D4#FFFFFF#000000##000000
##4274D41.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#447ED8
Deuteranopia (green-blind)
#2771D2
Tritanopia (blue-blind)
#008A9A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4274d4;
/* rgb */ color: rgb(66, 116, 212);
/* oklch */ color: oklch(57.4% 0.157 262.0);
Tailwind
colors: {
  custom: {
    50: '#879be2',
    500: '#4274d4',
    950: '#000000',
  },
}
SCSS
$custom: #4274d4;
$custom-light: #879be2;
$custom-dark: #000000;
JSON
{
  "hex": "#4274d4",
  "rgb": {
    "r": 66,
    "g": 116,
    "b": 212
  },
  "hsl": {
    "h": 219.452,
    "s": 62.931,
    "l": 54.51
  },
  "oklch": {
    "l": 0.57364,
    "c": 0.15734,
    "h": 262
  },
  "luminance": 0.18402
}

Semantic roles & 50–950 ramp

primary
#4274D4
secondary
#D8C39A
accent
#AE42E6
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0E15
muted
#7D7E83

Preview Lab

Preview with #4274D4

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

Preview Lab → · Contrast checker → · Palette generator →

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