#3255BC#3255BC

#3255BC is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.5% C 0.167 H 266.1°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#3255BC
RGBrgb(50, 85, 188)
HSLhsl(225, 58%, 47%)
HSVhsv(225, 73%, 74%)
CMYKcmyk(73.4%, 54.8%, 0%, 26.3%)
CIE-LABlab(39.25, 23.62, -57.94)
CIE-LCHlch(39.25, 62.57, 292.18°)
OKLaboklab(48.49% -0.0114 -0.1669)
OKLCHoklch(48.49% 0.167 266.1)
XYZxyz(13.6378, 10.8045, 48.9339)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3255BC #BC9932
analogous
#329ABC #3255BC #5432BC
triadic
#3255BC #BC3255 #55BC32
tetradic
#3255BC #BC329A #BC9932 #32BC54
square
#3255BC #BC329A #BC9932 #32BC54
split-complementary
#3255BC #BC5432 #9ABC32
monochromatic
#18295B #253F8C #3255BC #5877D3 #899FE0

Accessibility & contrast

On white

6.64
#3255BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#3255BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3255BC
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3255BC#FFFFFF#000000##FFFFFF
##3255BC1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C0
Deuteranopia (green-blind)
#0056BA
Tritanopia (blue-blind)
#006E80
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3255bc;
/* rgb */ color: rgb(50, 85, 188);
/* oklch */ color: oklch(48.5% 0.167 266.1);
Tailwind
colors: {
  custom: {
    50: '#7d84d1',
    500: '#3255bc',
    950: '#000000',
  },
}
SCSS
$custom: #3255bc;
$custom-light: #7d84d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3255bc",
  "rgb": {
    "r": 50,
    "g": 85,
    "b": 188
  },
  "hsl": {
    "h": 224.783,
    "s": 57.983,
    "l": 46.667
  },
  "oklch": {
    "l": 0.48492,
    "c": 0.1673,
    "h": 266.1
  },
  "luminance": 0.10806
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3255BC

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

Preview Lab → · Contrast checker → · Palette generator →

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