#4274BD#4274BD

#4274BD is a mid, vivid blue. Relative luminance 0.173; OKLCH L 55.9% C 0.126 H 257.9°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#4274BD
RGBrgb(66, 116, 189)
HSLhsl(216, 48%, 50%)
HSVhsv(216, 65%, 74%)
CMYKcmyk(65.1%, 38.6%, 0%, 25.9%)
CIE-LABlab(48.66, 6.67, -43.37)
CIE-LCHlch(48.66, 43.88, 278.74°)
OKLaboklab(55.92% -0.0265 -0.1233)
OKLCHoklch(55.92% 0.126 257.9)
XYZxyz(17.6742, 17.3214, 50.5462)
Luminance0.1732 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4274BD #BD8B42
analogous
#42B1BD #4274BD #4E42BD
triadic
#4274BD #BD4274 #74BD42
tetradic
#4274BD #BD42B1 #BD8B42 #42BD4E
square
#4274BD #BD42B1 #BD8B42 #42BD4E
split-complementary
#4274BD #BD4E42 #B1BD42
monochromatic
#223C62 #325890 #4274BD #6F95CD #9DB7DD

Accessibility & contrast

On white

4.70
#4274BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#4274BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4274BD
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4274BD#FFFFFF#000000##FFFFFF
##4274BD1.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#547AC0
Deuteranopia (green-blind)
#426EBB
Tritanopia (blue-blind)
#00858F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4274bd;
/* rgb */ color: rgb(66, 116, 189);
/* oklch */ color: oklch(55.9% 0.126 257.9);
Tailwind
colors: {
  custom: {
    50: '#829bd1',
    500: '#4274bd',
    950: '#000000',
  },
}
SCSS
$custom: #4274bd;
$custom-light: #829bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4274bd",
  "rgb": {
    "r": 66,
    "g": 116,
    "b": 189
  },
  "hsl": {
    "h": 215.61,
    "s": 48.235,
    "l": 50
  },
  "oklch": {
    "l": 0.55921,
    "c": 0.12615,
    "h": 257.9
  },
  "luminance": 0.17323
}

Semantic roles & 50–950 ramp

primary
#4274BD
secondary
#C9B392
accent
#A150D8
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4274BD

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

Preview Lab → · Contrast checker → · Palette generator →

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