#3255B3#3255B3

#3255B3 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.8% C 0.155 H 265.5°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#3255B3
RGBrgb(50, 85, 179)
HSLhsl(224, 56%, 45%)
HSVhsv(224, 72%, 70%)
CMYKcmyk(72.1%, 52.5%, 0%, 29.8%)
CIE-LABlab(38.60, 20.25, -53.70)
CIE-LCHlch(38.60, 57.40, 290.66°)
OKLaboklab(47.8% -0.0122 -0.1545)
OKLCHoklch(47.8% 0.155 265.5)
XYZxyz(12.6977, 10.4285, 43.9828)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3255B3 #B39032
analogous
#3296B3 #3255B3 #5032B3
triadic
#3255B3 #B33255 #55B332
tetradic
#3255B3 #B33296 #B39032 #32B350
square
#3255B3 #B33296 #B39032 #32B350
split-complementary
#3255B3 #B35032 #96B332
monochromatic
#172853 #253E83 #3255B3 #5375CF #839BDC

Accessibility & contrast

On white

6.80
#3255B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3255B3
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3255B3#FFFFFF#000000##FFFFFF
##3255B31.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1661B6
Deuteranopia (green-blind)
#0055B1
Tritanopia (blue-blind)
#006C7C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3255b3;
/* rgb */ color: rgb(50, 85, 179);
/* oklch */ color: oklch(47.8% 0.155 265.5);
Tailwind
colors: {
  custom: {
    50: '#7b84ca',
    500: '#3255b3',
    950: '#000000',
  },
}
SCSS
$custom: #3255b3;
$custom-light: #7b84ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3255b3",
  "rgb": {
    "r": 50,
    "g": 85,
    "b": 179
  },
  "hsl": {
    "h": 223.721,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47796,
    "c": 0.15494,
    "h": 265.5
  },
  "luminance": 0.1043
}

Semantic roles & 50–950 ramp

primary
#3255B3
secondary
#C6B17B
accent
#B748E0
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3255B3

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

Preview Lab → · Contrast checker → · Palette generator →

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