#3255B2#3255B2

#3255B2 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.7% C 0.154 H 265.4°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#3255B2
RGBrgb(50, 85, 178)
HSLhsl(224, 56%, 45%)
HSVhsv(224, 72%, 70%)
CMYKcmyk(71.9%, 52.2%, 0%, 30.2%)
CIE-LABlab(38.53, 19.88, -53.23)
CIE-LCHlch(38.53, 56.82, 290.48°)
OKLaboklab(47.72% -0.0123 -0.1531)
OKLCHoklch(47.72% 0.154 265.4)
XYZxyz(12.5970, 10.3881, 43.4521)
Luminance0.1039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3255B2 #B28F32
analogous
#3295B2 #3255B2 #4F32B2
triadic
#3255B2 #B23255 #55B232
tetradic
#3255B2 #B23295 #B28F32 #32B24F
square
#3255B2 #B23295 #B28F32 #32B24F
split-complementary
#3255B2 #B24F32 #95B232
monochromatic
#172752 #253E82 #3255B2 #5375CF #829BDC

Accessibility & contrast

On white

6.82
#3255B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#3255B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3255B2
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3255B2#FFFFFF#000000##FFFFFF
##3255B21.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1861B5
Deuteranopia (green-blind)
#0055B0
Tritanopia (blue-blind)
#006B7B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3255b2;
/* rgb */ color: rgb(50, 85, 178);
/* oklch */ color: oklch(47.7% 0.154 265.4);
Tailwind
colors: {
  custom: {
    50: '#7a84ca',
    500: '#3255b2',
    950: '#000000',
  },
}
SCSS
$custom: #3255b2;
$custom-light: #7a84ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3255b2",
  "rgb": {
    "r": 50,
    "g": 85,
    "b": 178
  },
  "hsl": {
    "h": 223.594,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.4772,
    "c": 0.15355,
    "h": 265.4
  },
  "luminance": 0.10389
}

Semantic roles & 50–950 ramp

primary
#3255B2
secondary
#C5B17B
accent
#B648DF
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #3255B2

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

Preview Lab → · Contrast checker → · Palette generator →

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