#4255CA#4255CA

#4255CA is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.4% C 0.182 H 271.3°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#4255CA
RGBrgb(66, 85, 202)
HSLhsl(232, 56%, 53%)
HSVhsv(232, 67%, 79%)
CMYKcmyk(67.3%, 57.9%, 0%, 20.8%)
CIE-LABlab(41.09, 30.89, -63.06)
CIE-LCHlch(41.09, 70.22, 296.10°)
OKLaboklab(50.41% 0.0042 -0.1816)
OKLCHoklch(50.41% 0.182 271.3)
XYZxyz(16.1523, 11.9180, 57.3148)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4255CA #CAB742
analogous
#4299CA #4255CA #7342CA
triadic
#4255CA #CA4255 #55CA42
tetradic
#4255CA #CA4299 #CAB742 #42CA73
square
#4255CA #CA4299 #CAB742 #42CA73
split-complementary
#4255CA #CA7342 #99CA42
monochromatic
#202B72 #2D3EA2 #4255CA #7280D7 #A2ABE5

Accessibility & contrast

On white

6.21
#4255CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#4255CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4255CA
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4255CA#FFFFFF#000000##FFFFFF
##4255CA1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#005BC8
Tritanopia (blue-blind)
#007287
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4255ca;
/* rgb */ color: rgb(66, 85, 202);
/* oklch */ color: oklch(50.4% 0.182 271.3);
Tailwind
colors: {
  custom: {
    50: '#8684db',
    500: '#4255ca',
    950: '#000000',
  },
}
SCSS
$custom: #4255ca;
$custom-light: #8684db;
$custom-dark: #000000;
JSON
{
  "hex": "#4255ca",
  "rgb": {
    "r": 66,
    "g": 85,
    "b": 202
  },
  "hsl": {
    "h": 231.618,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.50412,
    "c": 0.18169,
    "h": 271.3
  },
  "luminance": 0.1192
}

Semantic roles & 50–950 ramp

primary
#4255CA
secondary
#D1C996
accent
#CA48DF
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #4255CA

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

Preview Lab → · Contrast checker → · Palette generator →

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