#3255BB#3255BB

#3255BB is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.4% C 0.166 H 266.0°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#3255BB
RGBrgb(50, 85, 187)
HSLhsl(225, 58%, 46%)
HSVhsv(225, 73%, 73%)
CMYKcmyk(73.3%, 54.5%, 0%, 26.7%)
CIE-LABlab(39.18, 23.25, -57.47)
CIE-LCHlch(39.18, 62.00, 292.02°)
OKLaboklab(48.41% -0.0115 -0.1655)
OKLCHoklch(48.41% 0.166 266)
XYZxyz(13.5304, 10.7615, 48.3682)
Luminance0.1076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3255BB #BB9832
analogous
#329ABB #3255BB #5432BB
triadic
#3255BB #BB3255 #55BB32
tetradic
#3255BB #BB329A #BB9832 #32BB54
square
#3255BB #BB329A #BB9832 #32BB54
split-complementary
#3255BB #BB5432 #9ABB32
monochromatic
#18295A #253F8B #3255BB #5877D2 #889EDF

Accessibility & contrast

On white

6.66
#3255BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#3255BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3255BB
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3255BB#FFFFFF#000000##FFFFFF
##3255BB1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#0056B9
Tritanopia (blue-blind)
#006E7F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3255bb;
/* rgb */ color: rgb(50, 85, 187);
/* oklch */ color: oklch(48.4% 0.166 266.0);
Tailwind
colors: {
  custom: {
    50: '#7c84d0',
    500: '#3255bb',
    950: '#000000',
  },
}
SCSS
$custom: #3255bb;
$custom-light: #7c84d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3255bb",
  "rgb": {
    "r": 50,
    "g": 85,
    "b": 187
  },
  "hsl": {
    "h": 224.672,
    "s": 57.806,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48413,
    "c": 0.16594,
    "h": 266
  },
  "luminance": 0.10763
}

Semantic roles & 50–950 ramp

primary
#3255BB
secondary
#C9B680
accent
#BA47E1
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3255BB

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

Preview Lab → · Contrast checker → · Palette generator →

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