#3258B8#3258B8

#3258B8 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.8% C 0.158 H 264.8°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#3258B8
RGBrgb(50, 88, 184)
HSLhsl(223, 57%, 46%)
HSVhsv(223, 73%, 72%)
CMYKcmyk(72.8%, 52.2%, 0%, 27.8%)
CIE-LABlab(39.78, 20.16, -54.74)
CIE-LCHlch(39.78, 58.34, 290.22°)
OKLaboklab(48.8% -0.0142 -0.1575)
OKLCHoklch(48.8% 0.158 264.8)
XYZxyz(13.4538, 11.1168, 46.7748)
Luminance0.1112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3258B8 #B89232
analogous
#329BB8 #3258B8 #4F32B8
triadic
#3258B8 #B83258 #58B832
tetradic
#3258B8 #B8329B #B89232 #32B84F
square
#3258B8 #B8329B #B89232 #32B84F
split-complementary
#3258B8 #B84F32 #9BB832
monochromatic
#182A58 #254188 #3258B8 #5679D1 #869FDE

Accessibility & contrast

On white

6.51
#3258B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#3258B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3258B8
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3258B8#FFFFFF#000000##FFFFFF
##3258B81.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1864BB
Deuteranopia (green-blind)
#0058B6
Tritanopia (blue-blind)
#006F7F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3258b8;
/* rgb */ color: rgb(50, 88, 184);
/* oklch */ color: oklch(48.8% 0.158 264.8);
Tailwind
colors: {
  custom: {
    50: '#7c86ce',
    500: '#3258b8',
    950: '#000000',
  },
}
SCSS
$custom: #3258b8;
$custom-light: #7c86ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3258b8",
  "rgb": {
    "r": 50,
    "g": 88,
    "b": 184
  },
  "hsl": {
    "h": 222.985,
    "s": 57.265,
    "l": 45.882
  },
  "oklch": {
    "l": 0.488,
    "c": 0.1581,
    "h": 264.8
  },
  "luminance": 0.11118
}

Semantic roles & 50–950 ramp

primary
#3258B8
secondary
#C8B37E
accent
#B547E1
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3258B8

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

Preview Lab → · Contrast checker → · Palette generator →

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