#4274D7#4274D7

#4274D7 is a mid, vivid blue. Relative luminance 0.186; OKLCH L 57.6% C 0.161 H 262.4°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#4274D7
RGBrgb(66, 116, 215)
HSLhsl(220, 65%, 55%)
HSVhsv(220, 69%, 84%)
CMYKcmyk(69.3%, 46%, 0%, 15.7%)
CIE-LABlab(50.16, 15.91, -55.84)
CIE-LCHlch(50.16, 58.06, 285.90°)
OKLaboklab(57.56% -0.0214 -0.1599)
OKLCHoklch(57.56% 0.161 262.4)
XYZxyz(20.7535, 18.5532, 66.7642)
Luminance0.1855 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4274D7 #D7A542
analogous
#42BED7 #4274D7 #5B42D7
triadic
#4274D7 #D74274 #74D742
tetradic
#4274D7 #D742BE #D7A542 #42D75B
square
#4274D7 #D742BE #D7A542 #42D75B
split-complementary
#4274D7 #D75B42 #BED742
monochromatic
#1C3E83 #2656B5 #4274D7 #7599E2 #A7BEEC

Accessibility & contrast

On white

4.46
#4274D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#4274D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4274D7
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4274D7#FFFFFF#000000##000000
##4274D71.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#417FDB
Deuteranopia (green-blind)
#2171D5
Tritanopia (blue-blind)
#008B9B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4274d7;
/* rgb */ color: rgb(66, 116, 215);
/* oklch */ color: oklch(57.6% 0.161 262.4);
Tailwind
colors: {
  custom: {
    50: '#879be4',
    500: '#4274d7',
    950: '#000000',
  },
}
SCSS
$custom: #4274d7;
$custom-light: #879be4;
$custom-dark: #000000;
JSON
{
  "hex": "#4274d7",
  "rgb": {
    "r": 66,
    "g": 116,
    "b": 215
  },
  "hsl": {
    "h": 219.866,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.57563,
    "c": 0.16138,
    "h": 262.4
  },
  "luminance": 0.18555
}

Semantic roles & 50–950 ramp

primary
#4274D7
secondary
#DAC59B
accent
#B040E8
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0D0E16
muted
#7D7E84

Preview Lab

Preview with #4274D7

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

Preview Lab → · Contrast checker → · Palette generator →

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