#4255CC#4255CC

#4255CC is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.6% C 0.184 H 271.3°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#4255CC
RGBrgb(66, 85, 204)
HSLhsl(232, 58%, 53%)
HSVhsv(232, 68%, 80%)
CMYKcmyk(67.6%, 58.3%, 0%, 20%)
CIE-LABlab(41.24, 31.59, -63.97)
CIE-LCHlch(41.24, 71.35, 296.28°)
OKLaboklab(50.57% 0.0042 -0.1843)
OKLCHoklch(50.57% 0.184 271.3)
XYZxyz(16.3907, 12.0133, 58.5701)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4255CC #CCB942
analogous
#429ACC #4255CC #7442CC
triadic
#4255CC #CC4255 #55CC42
tetradic
#4255CC #CC429A #CCB942 #42CC74
square
#4255CC #CC429A #CCB942 #42CC74
split-complementary
#4255CC #CC7442 #9ACC42
monochromatic
#1F2B74 #2C3DA4 #4255CC #7280D9 #A2ACE6

Accessibility & contrast

On white

6.17
#4255CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#4255CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4255CC
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4255CC#FFFFFF#000000##FFFFFF
##4255CC1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D0
Deuteranopia (green-blind)
#005BCA
Tritanopia (blue-blind)
#007288
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4255cc;
/* rgb */ color: rgb(66, 85, 204);
/* oklch */ color: oklch(50.6% 0.184 271.3);
Tailwind
colors: {
  custom: {
    50: '#8784dc',
    500: '#4255cc',
    950: '#000000',
  },
}
SCSS
$custom: #4255cc;
$custom-light: #8784dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4255cc",
  "rgb": {
    "r": 66,
    "g": 85,
    "b": 204
  },
  "hsl": {
    "h": 231.739,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.50572,
    "c": 0.18436,
    "h": 271.3
  },
  "luminance": 0.12015
}

Semantic roles & 50–950 ramp

primary
#4255CC
secondary
#D3CB97
accent
#CC47E1
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0D0B15
muted
#7D7C83

Preview Lab

Preview with #4255CC

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

Preview Lab → · Contrast checker → · Palette generator →

#4255CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva