#4274DB#4274DB

#4274DB is a mid, vivid blue. Relative luminance 0.188; OKLCH L 57.8% C 0.167 H 262.8°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#4274DB
RGBrgb(66, 116, 219)
HSLhsl(220, 68%, 56%)
HSVhsv(220, 70%, 86%)
CMYKcmyk(69.9%, 47%, 0%, 14.1%)
CIE-LABlab(50.41, 17.34, -57.71)
CIE-LCHlch(50.41, 60.26, 286.73°)
OKLaboklab(57.83% -0.0208 -0.1654)
OKLCHoklch(57.83% 0.167 262.8)
XYZxyz(21.2738, 18.7613, 69.5042)
Luminance0.1876 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4274DB #DBA942
analogous
#42C0DB #4274DB #5C42DB
triadic
#4274DB #DB4274 #74DB42
tetradic
#4274DB #DB42C0 #DBA942 #42DB5C
square
#4274DB #DB42C0 #DBA942 #42DB5C
split-complementary
#4274DB #DB5C42 #C0DB42
monochromatic
#1A3E89 #2456BC #4274DB #759AE5 #A9C0EF

Accessibility & contrast

On white

4.42
#4274DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#4274DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4274DB
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4274DB#FFFFFF#000000##000000
##4274DB1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D7FDF
Deuteranopia (green-blind)
#1771D9
Tritanopia (blue-blind)
#008C9D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4274db;
/* rgb */ color: rgb(66, 116, 219);
/* oklch */ color: oklch(57.8% 0.167 262.8);
Tailwind
colors: {
  custom: {
    50: '#889be7',
    500: '#4274db',
    950: '#000000',
  },
}
SCSS
$custom: #4274db;
$custom-light: #889be7;
$custom-dark: #000000;
JSON
{
  "hex": "#4274db",
  "rgb": {
    "r": 66,
    "g": 116,
    "b": 219
  },
  "hsl": {
    "h": 220.392,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.57831,
    "c": 0.16675,
    "h": 262.8
  },
  "luminance": 0.18764
}

Semantic roles & 50–950 ramp

primary
#4274DB
secondary
#DCC79D
accent
#B23DEB
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4274DB

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

Preview Lab → · Contrast checker → · Palette generator →

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