#4274BF#4274BF

#4274BF is a mid, vivid blue. Relative luminance 0.174; OKLCH L 56.0% C 0.129 H 258.3°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#4274BF
RGBrgb(66, 116, 191)
HSLhsl(216, 49%, 50%)
HSVhsv(216, 65%, 75%)
CMYKcmyk(65.4%, 39.3%, 0%, 25.1%)
CIE-LABlab(48.77, 7.37, -44.35)
CIE-LCHlch(48.77, 44.96, 279.44°)
OKLaboklab(56.04% -0.026 -0.1262)
OKLCHoklch(56.04% 0.129 258.3)
XYZxyz(17.8928, 17.4089, 51.6974)
Luminance0.1741 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4274BF #BF8D42
analogous
#42B2BF #4274BF #4E42BF
triadic
#4274BF #BF4274 #74BF42
tetradic
#4274BF #BF42B2 #BF8D42 #42BF4E
square
#4274BF #BF42B2 #BF8D42 #42BF4E
split-complementary
#4274BF #BF4E42 #B2BF42
monochromatic
#223D65 #325892 #4274BF #7096CE #9DB7DE

Accessibility & contrast

On white

4.69
#4274BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#4274BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4274BF
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4274BF#FFFFFF#000000##FFFFFF
##4274BF1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#527AC2
Deuteranopia (green-blind)
#406EBD
Tritanopia (blue-blind)
#008590
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4274bf;
/* rgb */ color: rgb(66, 116, 191);
/* oklch */ color: oklch(56.0% 0.129 258.3);
Tailwind
colors: {
  custom: {
    50: '#839bd3',
    500: '#4274bf',
    950: '#000000',
  },
}
SCSS
$custom: #4274bf;
$custom-light: #839bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#4274bf",
  "rgb": {
    "r": 66,
    "g": 116,
    "b": 191
  },
  "hsl": {
    "h": 216,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56041,
    "c": 0.12886,
    "h": 258.3
  },
  "luminance": 0.17411
}

Semantic roles & 50–950 ramp

primary
#4274BF
secondary
#CAB493
accent
#A24FD9
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4274BF

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

Preview Lab → · Contrast checker → · Palette generator →

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