#3255B4#3255B4

#3255B4 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.9% C 0.156 H 265.6°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#3255B4
RGBrgb(50, 85, 180)
HSLhsl(224, 57%, 45%)
HSVhsv(224, 72%, 71%)
CMYKcmyk(72.2%, 52.8%, 0%, 29.4%)
CIE-LABlab(38.67, 20.63, -54.18)
CIE-LCHlch(38.67, 57.97, 290.84°)
OKLaboklab(47.87% -0.0121 -0.1558)
OKLCHoklch(47.87% 0.156 265.6)
XYZxyz(12.7992, 10.4691, 44.5174)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3255B4 #B49132
analogous
#3296B4 #3255B4 #5032B4
triadic
#3255B4 #B43255 #55B432
tetradic
#3255B4 #B43296 #B49132 #32B450
square
#3255B4 #B43296 #B49132 #32B450
split-complementary
#3255B4 #B45032 #96B432
monochromatic
#172854 #253E84 #3255B4 #5475CF #849CDD

Accessibility & contrast

On white

6.79
#3255B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#3255B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3255B4
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3255B4#FFFFFF#000000##FFFFFF
##3255B41.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1461B7
Deuteranopia (green-blind)
#0055B2
Tritanopia (blue-blind)
#006C7C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3255b4;
/* rgb */ color: rgb(50, 85, 180);
/* oklch */ color: oklch(47.9% 0.156 265.6);
Tailwind
colors: {
  custom: {
    50: '#7b84cb',
    500: '#3255b4',
    950: '#000000',
  },
}
SCSS
$custom: #3255b4;
$custom-light: #7b84cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3255b4",
  "rgb": {
    "r": 50,
    "g": 85,
    "b": 180
  },
  "hsl": {
    "h": 223.846,
    "s": 56.522,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47872,
    "c": 0.15632,
    "h": 265.6
  },
  "luminance": 0.1047
}

Semantic roles & 50–950 ramp

primary
#3255B4
secondary
#C6B27C
accent
#B748E0
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3255B4

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

Preview Lab → · Contrast checker → · Palette generator →

#3255B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva