#4255BC#4255BC

#4255BC is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.3% C 0.163 H 271.3°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#4255BC
RGBrgb(66, 85, 188)
HSLhsl(231, 48%, 50%)
HSVhsv(231, 65%, 74%)
CMYKcmyk(64.9%, 54.8%, 0%, 26.3%)
CIE-LABlab(40.06, 25.97, -56.59)
CIE-LCHlch(40.06, 62.27, 294.65°)
OKLaboklab(49.32% 0.0037 -0.1626)
OKLCHoklch(49.32% 0.163 271.3)
XYZxyz(14.5693, 11.2848, 48.9776)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4255BC #BCA942
analogous
#4292BC #4255BC #6C42BC
triadic
#4255BC #BC4255 #55BC42
tetradic
#4255BC #BC4292 #BCA942 #42BC6C
square
#4255BC #BC4292 #BCA942 #42BC6C
split-complementary
#4255BC #BC6C42 #92BC42
monochromatic
#222C61 #32418F #4255BC #6F7DCC #9CA6DC

Accessibility & contrast

On white

6.45
#4255BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#4255BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4255BC
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4255BC#FFFFFF#000000##FFFFFF
##4255BC1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0364C0
Deuteranopia (green-blind)
#0059BA
Tritanopia (blue-blind)
#006E80
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4255bc;
/* rgb */ color: rgb(66, 85, 188);
/* oklch */ color: oklch(49.3% 0.163 271.3);
Tailwind
colors: {
  custom: {
    50: '#8384d1',
    500: '#4255bc',
    950: '#000000',
  },
}
SCSS
$custom: #4255bc;
$custom-light: #8384d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4255bc",
  "rgb": {
    "r": 66,
    "g": 85,
    "b": 188
  },
  "hsl": {
    "h": 230.656,
    "s": 48.031,
    "l": 49.804
  },
  "oklch": {
    "l": 0.49317,
    "c": 0.16265,
    "h": 271.3
  },
  "luminance": 0.11286
}

Semantic roles & 50–950 ramp

primary
#4255BC
secondary
#C9C091
accent
#C350D8
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4255BC

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

Preview Lab → · Contrast checker → · Palette generator →

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