#3255BF#3255BF

#3255BF is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.7% C 0.171 H 266.2°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#3255BF
RGBrgb(50, 85, 191)
HSLhsl(225, 59%, 47%)
HSVhsv(225, 74%, 75%)
CMYKcmyk(73.8%, 55.5%, 0%, 25.1%)
CIE-LABlab(39.47, 24.74, -59.33)
CIE-LCHlch(39.47, 64.28, 292.63°)
OKLaboklab(48.73% -0.0112 -0.171)
OKLCHoklch(48.73% 0.171 266.2)
XYZxyz(13.9646, 10.9352, 50.6549)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3255BF #BF9C32
analogous
#329CBF #3255BF #5532BF
triadic
#3255BF #BF3255 #55BF32
tetradic
#3255BF #BF329C #BF9C32 #32BF55
square
#3255BF #BF329C #BF9C32 #32BF55
split-complementary
#3255BF #BF5532 #9CBF32
monochromatic
#192A5E #253F8E #3255BF #5A78D4 #8BA0E1

Accessibility & contrast

On white

6.59
#3255BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#3255BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3255BF
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3255BF#FFFFFF#000000##FFFFFF
##3255BF1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#0057BD
Tritanopia (blue-blind)
#006F81
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3255bf;
/* rgb */ color: rgb(50, 85, 191);
/* oklch */ color: oklch(48.7% 0.171 266.2);
Tailwind
colors: {
  custom: {
    50: '#7d84d3',
    500: '#3255bf',
    950: '#000000',
  },
}
SCSS
$custom: #3255bf;
$custom-light: #7d84d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3255bf",
  "rgb": {
    "r": 50,
    "g": 85,
    "b": 191
  },
  "hsl": {
    "h": 225.106,
    "s": 58.506,
    "l": 47.255
  },
  "oklch": {
    "l": 0.48729,
    "c": 0.17138,
    "h": 266.2
  },
  "luminance": 0.10937
}

Semantic roles & 50–950 ramp

primary
#3255BF
secondary
#CBB982
accent
#BB46E2
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #3255BF

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

Preview Lab → · Contrast checker → · Palette generator →

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