#3258B2#3258B2

#3258B2 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.4% C 0.150 H 264.3°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#3258B2
RGBrgb(50, 88, 178)
HSLhsl(222, 56%, 45%)
HSVhsv(222, 72%, 70%)
CMYKcmyk(71.9%, 50.6%, 0%, 30.2%)
CIE-LABlab(39.36, 17.91, -51.89)
CIE-LCHlch(39.36, 54.89, 289.05°)
OKLaboklab(48.35% -0.0149 -0.1491)
OKLCHoklch(48.35% 0.15 264.3)
XYZxyz(12.8382, 10.8706, 43.5325)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3258B2 #B28C32
analogous
#3298B2 #3258B2 #4C32B2
triadic
#3258B2 #B23258 #58B232
tetradic
#3258B2 #B23298 #B28C32 #32B24C
square
#3258B2 #B23298 #B28C32 #32B24C
split-complementary
#3258B2 #B24C32 #98B232
monochromatic
#172952 #254082 #3258B2 #5377CF #829DDC

Accessibility & contrast

On white

6.62
#3258B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#3258B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3258B2
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3258B2#FFFFFF#000000##FFFFFF
##3258B21.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2263B5
Deuteranopia (green-blind)
#0057B0
Tritanopia (blue-blind)
#006D7C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3258b2;
/* rgb */ color: rgb(50, 88, 178);
/* oklch */ color: oklch(48.4% 0.150 264.3);
Tailwind
colors: {
  custom: {
    50: '#7a86ca',
    500: '#3258b2',
    950: '#000000',
  },
}
SCSS
$custom: #3258b2;
$custom-light: #7a86ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3258b2",
  "rgb": {
    "r": 50,
    "g": 88,
    "b": 178
  },
  "hsl": {
    "h": 222.188,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.48352,
    "c": 0.1498,
    "h": 264.3
  },
  "luminance": 0.10872
}

Semantic roles & 50–950 ramp

primary
#3258B2
secondary
#C5AF7B
accent
#B348DF
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #3258B2

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

Preview Lab → · Contrast checker → · Palette generator →

#3258B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva