#3255C6#3255C6

#3255C6 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.3% C 0.181 H 266.5°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#3255C6
RGBrgb(50, 85, 198)
HSLhsl(226, 60%, 49%)
HSVhsv(226, 75%, 78%)
CMYKcmyk(74.7%, 57.1%, 0%, 22.4%)
CIE-LABlab(40.00, 27.34, -62.55)
CIE-LCHlch(40.00, 68.26, 293.61°)
OKLaboklab(49.29% -0.0109 -0.1805)
OKLCHoklch(49.29% 0.181 266.5)
XYZxyz(14.7534, 11.2507, 54.8092)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3255C6 #C6A332
analogous
#329FC6 #3255C6 #5932C6
triadic
#3255C6 #C63255 #55C632
tetradic
#3255C6 #C6329F #C6A332 #32C659
square
#3255C6 #C6329F #C6A332 #32C659
split-complementary
#3255C6 #C65932 #9FC632
monochromatic
#192B64 #264095 #3255C6 #5F7BD7 #90A3E3

Accessibility & contrast

On white

6.46
#3255C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#3255C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3255C6
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3255C6#FFFFFF#000000##FFFFFF
##3255C61.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CA
Deuteranopia (green-blind)
#0058C4
Tritanopia (blue-blind)
#007185
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3255c6;
/* rgb */ color: rgb(50, 85, 198);
/* oklch */ color: oklch(49.3% 0.181 266.5);
Tailwind
colors: {
  custom: {
    50: '#7f84d8',
    500: '#3255c6',
    950: '#000000',
  },
}
SCSS
$custom: #3255c6;
$custom-light: #7f84d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3255c6",
  "rgb": {
    "r": 50,
    "g": 85,
    "b": 198
  },
  "hsl": {
    "h": 225.811,
    "s": 59.677,
    "l": 48.627
  },
  "oklch": {
    "l": 0.49292,
    "c": 0.18079,
    "h": 266.5
  },
  "luminance": 0.11252
}

Semantic roles & 50–950 ramp

primary
#3255C6
secondary
#CDBD86
accent
#BE45E3
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3255C6

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

Preview Lab → · Contrast checker → · Palette generator →

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