#4274D2#4274D2

#4274D2 is a mid, vivid blue. Relative luminance 0.183; OKLCH L 57.2% C 0.155 H 261.7°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#4274D2
RGBrgb(66, 116, 210)
HSLhsl(219, 62%, 54%)
HSVhsv(219, 69%, 82%)
CMYKcmyk(68.6%, 44.8%, 0%, 17.6%)
CIE-LABlab(49.86, 14.12, -53.49)
CIE-LCHlch(49.86, 55.32, 284.79°)
OKLaboklab(57.23% -0.0223 -0.153)
OKLCHoklch(57.23% 0.155 261.7)
XYZxyz(20.1209, 18.3001, 63.4322)
Luminance0.1830 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4274D2 #D2A042
analogous
#42BCD2 #4274D2 #5842D2
triadic
#4274D2 #D24274 #74D242
tetradic
#4274D2 #D242BC #D2A042 #42D258
square
#4274D2 #D242BC #D2A042 #42D258
split-complementary
#4274D2 #D25842 #BCD242
monochromatic
#1E3E7C #2957AD #4274D2 #7398DE #A5BDEA

Accessibility & contrast

On white

4.51
#4274D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#4274D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4274D2
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4274D2#FFFFFF#000000##000000
##4274D21.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#457ED6
Deuteranopia (green-blind)
#2A70D0
Tritanopia (blue-blind)
#008A99
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4274d2;
/* rgb */ color: rgb(66, 116, 210);
/* oklch */ color: oklch(57.2% 0.155 261.7);
Tailwind
colors: {
  custom: {
    50: '#869be0',
    500: '#4274d2',
    950: '#000000',
  },
}
SCSS
$custom: #4274d2;
$custom-light: #869be0;
$custom-dark: #000000;
JSON
{
  "hex": "#4274d2",
  "rgb": {
    "r": 66,
    "g": 116,
    "b": 210
  },
  "hsl": {
    "h": 219.167,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.57233,
    "c": 0.15464,
    "h": 261.7
  },
  "luminance": 0.18302
}

Semantic roles & 50–950 ramp

primary
#4274D2
secondary
#D7C199
accent
#AD43E5
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4274D2

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

Preview Lab → · Contrast checker → · Palette generator →

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