#4274BA#4274BA

#4274BA is a mid, vivid blue. Relative luminance 0.172; OKLCH L 55.7% C 0.122 H 257.1°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#4274BA
RGBrgb(66, 116, 186)
HSLhsl(215, 48%, 49%)
HSVhsv(215, 65%, 73%)
CMYKcmyk(64.5%, 37.6%, 0%, 27.1%)
CIE-LABlab(48.50, 5.62, -41.90)
CIE-LCHlch(48.50, 42.27, 277.64°)
OKLaboklab(55.74% -0.0272 -0.119)
OKLCHoklch(55.74% 0.122 257.1)
XYZxyz(17.3519, 17.1925, 48.8489)
Luminance0.1719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4274BA #BA8842
analogous
#42B0BA #4274BA #4C42BA
triadic
#4274BA #BA4274 #74BA42
tetradic
#4274BA #BA42B0 #BA8842 #42BA4C
square
#4274BA #BA42B0 #BA8842 #42BA4C
split-complementary
#4274BA #BA4C42 #B0BA42
monochromatic
#223C60 #32588D #4274BA #6E95CB #9BB6DB

Accessibility & contrast

On white

4.73
#4274BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#4274BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4274BA
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4274BA#FFFFFF#000000##FFFFFF
##4274BA1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5579BD
Deuteranopia (green-blind)
#446EB9
Tritanopia (blue-blind)
#00848E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4274ba;
/* rgb */ color: rgb(66, 116, 186);
/* oklch */ color: oklch(55.7% 0.122 257.1);
Tailwind
colors: {
  custom: {
    50: '#829bcf',
    500: '#4274ba',
    950: '#000000',
  },
}
SCSS
$custom: #4274ba;
$custom-light: #829bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#4274ba",
  "rgb": {
    "r": 66,
    "g": 116,
    "b": 186
  },
  "hsl": {
    "h": 215,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.55743,
    "c": 0.12209,
    "h": 257.1
  },
  "luminance": 0.17194
}

Semantic roles & 50–950 ramp

primary
#4274BA
secondary
#C8B190
accent
#9F51D7
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #4274BA

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

Preview Lab → · Contrast checker → · Palette generator →

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