#4274CB#4274CB

#4274CB is a mid, vivid blue. Relative luminance 0.180; OKLCH L 56.8% C 0.145 H 260.7°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#4274CB
RGBrgb(66, 116, 203)
HSLhsl(218, 57%, 53%)
HSVhsv(218, 67%, 80%)
CMYKcmyk(67.5%, 42.9%, 0%, 20.4%)
CIE-LABlab(49.45, 11.62, -50.16)
CIE-LCHlch(49.45, 51.49, 283.05°)
OKLaboklab(56.78% -0.0235 -0.1432)
OKLCHoklch(56.78% 0.145 260.7)
XYZxyz(19.2678, 17.9589, 58.9393)
Luminance0.1796 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4274CB #CB9942
analogous
#42B8CB #4274CB #5442CB
triadic
#4274CB #CB4274 #74CB42
tetradic
#4274CB #CB42B8 #CB9942 #42CB54
square
#4274CB #CB42B8 #CB9942 #42CB54
split-complementary
#4274CB #CB5442 #B8CB42
monochromatic
#203E73 #2D58A3 #4274CB #7297D8 #A2BBE5

Accessibility & contrast

On white

4.57
#4274CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#4274CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4274CB
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4274CB#FFFFFF#000000##000000
##4274CB1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7CCE
Deuteranopia (green-blind)
#3470C9
Tritanopia (blue-blind)
#008895
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4274cb;
/* rgb */ color: rgb(66, 116, 203);
/* oklch */ color: oklch(56.8% 0.145 260.7);
Tailwind
colors: {
  custom: {
    50: '#859bdb',
    500: '#4274cb',
    950: '#000000',
  },
}
SCSS
$custom: #4274cb;
$custom-light: #859bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4274cb",
  "rgb": {
    "r": 66,
    "g": 116,
    "b": 203
  },
  "hsl": {
    "h": 218.102,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.56783,
    "c": 0.14516,
    "h": 260.7
  },
  "luminance": 0.17961
}

Semantic roles & 50–950 ramp

primary
#4274CB
secondary
#D2BC97
accent
#A848E0
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4274CB

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

Preview Lab → · Contrast checker → · Palette generator →

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