#4274CD#4274CD

#4274CD is a mid, vivid blue. Relative luminance 0.181; OKLCH L 56.9% C 0.148 H 261.0°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#4274CD
RGBrgb(66, 116, 205)
HSLhsl(218, 58%, 53%)
HSVhsv(218, 68%, 80%)
CMYKcmyk(67.8%, 43.4%, 0%, 19.6%)
CIE-LABlab(49.56, 12.34, -51.11)
CIE-LCHlch(49.56, 52.58, 283.57°)
OKLaboklab(56.91% -0.0232 -0.1461)
OKLCHoklch(56.91% 0.148 261)
XYZxyz(19.5077, 18.0548, 60.2026)
Luminance0.1806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4274CD #CD9B42
analogous
#42BACD #4274CD #5542CD
triadic
#4274CD #CD4274 #74CD42
tetradic
#4274CD #CD42BA #CD9B42 #42CD55
square
#4274CD #CD42BA #CD9B42 #42CD55
split-complementary
#4274CD #CD5542 #BACD42
monochromatic
#1F3E76 #2C58A6 #4274CD #7298DA #A3BBE7

Accessibility & contrast

On white

4.55
#4274CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#4274CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4274CD
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4274CD#FFFFFF#000000##000000
##4274CD1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#497DD0
Deuteranopia (green-blind)
#3170CB
Tritanopia (blue-blind)
#008996
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4274cd;
/* rgb */ color: rgb(66, 116, 205);
/* oklch */ color: oklch(56.9% 0.148 261.0);
Tailwind
colors: {
  custom: {
    50: '#859bdd',
    500: '#4274cd',
    950: '#000000',
  },
}
SCSS
$custom: #4274cd;
$custom-light: #859bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4274cd",
  "rgb": {
    "r": 66,
    "g": 116,
    "b": 205
  },
  "hsl": {
    "h": 218.417,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.5691,
    "c": 0.14787,
    "h": 261
  },
  "luminance": 0.18057
}

Semantic roles & 50–950 ramp

primary
#4274CD
secondary
#D3BE97
accent
#AA46E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4274CD

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

Preview Lab → · Contrast checker → · Palette generator →

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