#3255B8#3255B8

#3255B8 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.2% C 0.162 H 265.8°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#3255B8
RGBrgb(50, 85, 184)
HSLhsl(224, 57%, 46%)
HSVhsv(224, 73%, 72%)
CMYKcmyk(72.8%, 53.8%, 0%, 27.8%)
CIE-LABlab(38.96, 22.13, -56.07)
CIE-LCHlch(38.96, 60.27, 291.54°)
OKLaboklab(48.18% -0.0117 -0.1614)
OKLCHoklch(48.18% 0.162 265.8)
XYZxyz(13.2126, 10.6344, 46.6944)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3255B8 #B89532
analogous
#3298B8 #3255B8 #5232B8
triadic
#3255B8 #B83255 #55B832
tetradic
#3255B8 #B83298 #B89532 #32B852
square
#3255B8 #B83298 #B89532 #32B852
split-complementary
#3255B8 #B85232 #98B832
monochromatic
#182958 #253F88 #3255B8 #5676D1 #869DDE

Accessibility & contrast

On white

6.72
#3255B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#3255B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3255B8
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3255B8#FFFFFF#000000##FFFFFF
##3255B81.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0862BB
Deuteranopia (green-blind)
#0056B6
Tritanopia (blue-blind)
#006D7E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3255b8;
/* rgb */ color: rgb(50, 85, 184);
/* oklch */ color: oklch(48.2% 0.162 265.8);
Tailwind
colors: {
  custom: {
    50: '#7c84ce',
    500: '#3255b8',
    950: '#000000',
  },
}
SCSS
$custom: #3255b8;
$custom-light: #7c84ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3255b8",
  "rgb": {
    "r": 50,
    "g": 85,
    "b": 184
  },
  "hsl": {
    "h": 224.328,
    "s": 57.265,
    "l": 45.882
  },
  "oklch": {
    "l": 0.48179,
    "c": 0.16184,
    "h": 265.8
  },
  "luminance": 0.10636
}

Semantic roles & 50–950 ramp

primary
#3255B8
secondary
#C8B57E
accent
#B847E1
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3255B8

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

Preview Lab → · Contrast checker → · Palette generator →

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