#3255A9#3255A9

#3255A9 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.1% C 0.141 H 264.6°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#3255A9
RGBrgb(50, 85, 169)
HSLhsl(222, 54%, 43%)
HSVhsv(222, 70%, 66%)
CMYKcmyk(70.4%, 49.7%, 0%, 33.7%)
CIE-LABlab(37.91, 16.51, -48.90)
CIE-LCHlch(37.91, 51.61, 288.66°)
OKLaboklab(47.05% -0.0133 -0.1403)
OKLCHoklch(47.05% 0.141 264.6)
XYZxyz(11.7228, 10.0385, 38.8482)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3255A9 #A98632
analogous
#3290A9 #3255A9 #4A32A9
triadic
#3255A9 #A93255 #55A932
tetradic
#3255A9 #A93290 #A98632 #32A94A
square
#3255A9 #A93290 #A98632 #32A94A
split-complementary
#3255A9 #A94A32 #90A932
monochromatic
#16254B #243D7A #3255A9 #4E72CB #7D98D9

Accessibility & contrast

On white

6.98
#3255A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#3255A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3255A9
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3255A9#FFFFFF#000000##FFFFFF
##3255A91.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265FAC
Deuteranopia (green-blind)
#0054A7
Tritanopia (blue-blind)
#006977
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3255a9;
/* rgb */ color: rgb(50, 85, 169);
/* oklch */ color: oklch(47.1% 0.141 264.6);
Tailwind
colors: {
  custom: {
    50: '#7984c3',
    500: '#3255a9',
    950: '#000000',
  },
}
SCSS
$custom: #3255a9;
$custom-light: #7984c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3255a9",
  "rgb": {
    "r": 50,
    "g": 85,
    "b": 169
  },
  "hsl": {
    "h": 222.353,
    "s": 54.338,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47052,
    "c": 0.14095,
    "h": 264.6
  },
  "luminance": 0.1004
}

Semantic roles & 50–950 ramp

primary
#3255A9
secondary
#C1AB76
accent
#B24ADE
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #3255A9

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

Preview Lab → · Contrast checker → · Palette generator →

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