#3255B5#3255B5

#3255B5 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.9% C 0.158 H 265.6°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#3255B5
RGBrgb(50, 85, 181)
HSLhsl(224, 57%, 45%)
HSVhsv(224, 72%, 71%)
CMYKcmyk(72.4%, 53%, 0%, 29%)
CIE-LABlab(38.74, 21.00, -54.65)
CIE-LCHlch(38.74, 58.55, 291.02°)
OKLaboklab(47.95% -0.012 -0.1572)
OKLCHoklch(47.95% 0.158 265.6)
XYZxyz(12.9015, 10.5099, 45.0558)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3255B5 #B59232
analogous
#3297B5 #3255B5 #5032B5
triadic
#3255B5 #B53255 #55B532
tetradic
#3255B5 #B53297 #B59232 #32B550
square
#3255B5 #B53297 #B59232 #32B550
split-complementary
#3255B5 #B55032 #97B532
monochromatic
#182855 #253E85 #3255B5 #5475D0 #849CDD

Accessibility & contrast

On white

6.77
#3255B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#3255B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3255B5
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3255B5#FFFFFF#000000##FFFFFF
##3255B51.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1162B8
Deuteranopia (green-blind)
#0055B3
Tritanopia (blue-blind)
#006C7D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3255b5;
/* rgb */ color: rgb(50, 85, 181);
/* oklch */ color: oklch(47.9% 0.158 265.6);
Tailwind
colors: {
  custom: {
    50: '#7b84cc',
    500: '#3255b5',
    950: '#000000',
  },
}
SCSS
$custom: #3255b5;
$custom-light: #7b84cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3255b5",
  "rgb": {
    "r": 50,
    "g": 85,
    "b": 181
  },
  "hsl": {
    "h": 223.969,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47948,
    "c": 0.15771,
    "h": 265.6
  },
  "luminance": 0.10511
}

Semantic roles & 50–950 ramp

primary
#3255B5
secondary
#C7B37C
accent
#B748E0
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3255B5

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

Preview Lab → · Contrast checker → · Palette generator →

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