#3255C7#3255C7

#3255C7 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.4% C 0.182 H 266.6°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#3255C7
RGBrgb(50, 85, 199)
HSLhsl(226, 60%, 49%)
HSVhsv(226, 75%, 78%)
CMYKcmyk(74.9%, 57.3%, 0%, 22%)
CIE-LABlab(40.08, 27.71, -63.00)
CIE-LCHlch(40.08, 68.82, 293.74°)
OKLaboklab(49.37% -0.0108 -0.1818)
OKLCHoklch(49.37% 0.182 266.6)
XYZxyz(14.8691, 11.2970, 55.4187)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3255C7 #C7A432
analogous
#32A0C7 #3255C7 #5A32C7
triadic
#3255C7 #C73255 #55C732
tetradic
#3255C7 #C732A0 #C7A432 #32C75A
square
#3255C7 #C732A0 #C7A432 #32C75A
split-complementary
#3255C7 #C75A32 #A0C732
monochromatic
#192B65 #264096 #3255C7 #5F7BD7 #90A4E3

Accessibility & contrast

On white

6.44
#3255C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#3255C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3255C7
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3255C7#FFFFFF#000000##FFFFFF
##3255C71.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CB
Deuteranopia (green-blind)
#0058C5
Tritanopia (blue-blind)
#007186
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3255c7;
/* rgb */ color: rgb(50, 85, 199);
/* oklch */ color: oklch(49.4% 0.182 266.6);
Tailwind
colors: {
  custom: {
    50: '#7f84d9',
    500: '#3255c7',
    950: '#000000',
  },
}
SCSS
$custom: #3255c7;
$custom-light: #7f84d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3255c7",
  "rgb": {
    "r": 50,
    "g": 85,
    "b": 199
  },
  "hsl": {
    "h": 225.906,
    "s": 59.839,
    "l": 48.824
  },
  "oklch": {
    "l": 0.49374,
    "c": 0.18211,
    "h": 266.6
  },
  "luminance": 0.11299
}

Semantic roles & 50–950 ramp

primary
#3255C7
secondary
#CEBD87
accent
#BE45E3
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3255C7

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

Preview Lab → · Contrast checker → · Palette generator →

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