#4274DA#4274DA

#4274DA is a mid, vivid blue. Relative luminance 0.187; OKLCH L 57.8% C 0.165 H 262.7°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#4274DA
RGBrgb(66, 116, 218)
HSLhsl(220, 67%, 56%)
HSVhsv(220, 70%, 85%)
CMYKcmyk(69.7%, 46.8%, 0%, 14.5%)
CIE-LABlab(50.34, 16.99, -57.25)
CIE-LCHlch(50.34, 59.71, 286.53°)
OKLaboklab(57.76% -0.021 -0.1641)
OKLCHoklch(57.76% 0.165 262.7)
XYZxyz(21.1426, 18.7088, 68.8130)
Luminance0.1871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4274DA #DAA842
analogous
#42C0DA #4274DA #5C42DA
triadic
#4274DA #DA4274 #74DA42
tetradic
#4274DA #DA42C0 #DAA842 #42DA5C
square
#4274DA #DA42C0 #DAA842 #42DA5C
split-complementary
#4274DA #DA5C42 #C0DA42
monochromatic
#1A3E87 #2456BA #4274DA #759AE4 #A8BFEE

Accessibility & contrast

On white

4.43
#4274DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#4274DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4274DA
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4274DA#FFFFFF#000000##000000
##4274DA1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E7FDE
Deuteranopia (green-blind)
#1A71D8
Tritanopia (blue-blind)
#008C9C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4274da;
/* rgb */ color: rgb(66, 116, 218);
/* oklch */ color: oklch(57.8% 0.165 262.7);
Tailwind
colors: {
  custom: {
    50: '#889be6',
    500: '#4274da',
    950: '#000000',
  },
}
SCSS
$custom: #4274da;
$custom-light: #889be6;
$custom-dark: #000000;
JSON
{
  "hex": "#4274da",
  "rgb": {
    "r": 66,
    "g": 116,
    "b": 218
  },
  "hsl": {
    "h": 220.263,
    "s": 67.257,
    "l": 55.686
  },
  "oklch": {
    "l": 0.57764,
    "c": 0.16541,
    "h": 262.7
  },
  "luminance": 0.18711
}

Semantic roles & 50–950 ramp

primary
#4274DA
secondary
#DBC79C
accent
#B13EEA
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4274DA

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

Preview Lab → · Contrast checker → · Palette generator →

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