#3258B1#3258B1

#3258B1 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.3% C 0.148 H 264.2°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#3258B1
RGBrgb(50, 88, 177)
HSLhsl(222, 56%, 45%)
HSVhsv(222, 72%, 69%)
CMYKcmyk(71.8%, 50.3%, 0%, 30.6%)
CIE-LABlab(39.29, 17.54, -51.41)
CIE-LCHlch(39.29, 54.32, 288.84°)
OKLaboklab(48.28% -0.015 -0.1476)
OKLCHoklch(48.28% 0.148 264.2)
XYZxyz(12.7381, 10.8305, 43.0056)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3258B1 #B18B32
analogous
#3298B1 #3258B1 #4B32B1
triadic
#3258B1 #B13258 #58B132
tetradic
#3258B1 #B13298 #B18B32 #32B14B
square
#3258B1 #B13298 #B18B32 #32B14B
split-complementary
#3258B1 #B14B32 #98B132
monochromatic
#172952 #254081 #3258B1 #5277CE #829DDC

Accessibility & contrast

On white

6.63
#3258B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3258B1
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3258B1#FFFFFF#000000##FFFFFF
##3258B11.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2463B4
Deuteranopia (green-blind)
#0057AF
Tritanopia (blue-blind)
#006D7C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3258b1;
/* rgb */ color: rgb(50, 88, 177);
/* oklch */ color: oklch(48.3% 0.148 264.2);
Tailwind
colors: {
  custom: {
    50: '#7a86c9',
    500: '#3258b1',
    950: '#000000',
  },
}
SCSS
$custom: #3258b1;
$custom-light: #7a86c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3258b1",
  "rgb": {
    "r": 50,
    "g": 88,
    "b": 177
  },
  "hsl": {
    "h": 222.047,
    "s": 55.947,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48278,
    "c": 0.1484,
    "h": 264.2
  },
  "luminance": 0.10832
}

Semantic roles & 50–950 ramp

primary
#3258B1
secondary
#C5AE7A
accent
#B249DF
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #3258B1

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

Preview Lab → · Contrast checker → · Palette generator →

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