#4255CB#4255CB

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

Color values

HEX#4255CB
RGBrgb(66, 85, 203)
HSLhsl(232, 57%, 53%)
HSVhsv(232, 67%, 80%)
CMYKcmyk(67.5%, 58.1%, 0%, 20.4%)
CIE-LABlab(41.16, 31.24, -63.52)
CIE-LCHlch(41.16, 70.78, 296.19°)
OKLaboklab(50.49% 0.0042 -0.183)
OKLCHoklch(50.49% 0.183 271.3)
XYZxyz(16.2711, 11.9655, 57.9404)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4255CB #CBB842
analogous
#4299CB #4255CB #7442CB
triadic
#4255CB #CB4255 #55CB42
tetradic
#4255CB #CB4299 #CBB842 #42CB74
square
#4255CB #CB4299 #CBB842 #42CB74
split-complementary
#4255CB #CB7442 #99CB42
monochromatic
#202B73 #2D3DA3 #4255CB #7280D8 #A2ABE5

Accessibility & contrast

On white

6.19
#4255CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#4255CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4255CB
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4255CB#FFFFFF#000000##FFFFFF
##4255CB1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#005BC9
Tritanopia (blue-blind)
#007288
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4255cb;
/* rgb */ color: rgb(66, 85, 203);
/* oklch */ color: oklch(50.5% 0.183 271.3);
Tailwind
colors: {
  custom: {
    50: '#8684dc',
    500: '#4255cb',
    950: '#000000',
  },
}
SCSS
$custom: #4255cb;
$custom-light: #8684dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4255cb",
  "rgb": {
    "r": 66,
    "g": 85,
    "b": 203
  },
  "hsl": {
    "h": 231.679,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.50492,
    "c": 0.18302,
    "h": 271.3
  },
  "luminance": 0.11967
}

Semantic roles & 50–950 ramp

primary
#4255CB
secondary
#D2CA97
accent
#CB48E0
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0D0B15
muted
#7D7C83

Preview Lab

Preview with #4255CB

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

Preview Lab → · Contrast checker → · Palette generator →

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