#3059B8#3059B8

#3059B8 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.9% C 0.157 H 263.9°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#3059B8
RGBrgb(48, 89, 184)
HSLhsl(222, 59%, 45%)
HSVhsv(222, 74%, 72%)
CMYKcmyk(73.9%, 51.6%, 0%, 27.8%)
CIE-LABlab(39.97, 19.24, -54.43)
CIE-LCHlch(39.97, 57.74, 289.47°)
OKLaboklab(48.92% -0.0167 -0.1566)
OKLCHoklch(48.92% 0.157 263.9)
XYZxyz(13.4400, 11.2324, 46.7979)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3059B8 #B88F30
analogous
#309DB8 #3059B8 #4B30B8
triadic
#3059B8 #B83059 #59B830
tetradic
#3059B8 #B8309D #B88F30 #30B84B
square
#3059B8 #B8309D #B88F30 #30B84B
split-complementary
#3059B8 #B84B30 #9DB830
monochromatic
#172A57 #234287 #3059B8 #5379D2 #849FDF

Accessibility & contrast

On white

6.47
#3059B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#3059B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3059B8
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3059B8#FFFFFF#000000##FFFFFF
##3059B81.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C65BB
Deuteranopia (green-blind)
#0058B6
Tritanopia (blue-blind)
#007080
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3059b8;
/* rgb */ color: rgb(48, 89, 184);
/* oklch */ color: oklch(48.9% 0.157 263.9);
Tailwind
colors: {
  custom: {
    50: '#7b87ce',
    500: '#3059b8',
    950: '#000000',
  },
}
SCSS
$custom: #3059b8;
$custom-light: #7b87ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3059b8",
  "rgb": {
    "r": 48,
    "g": 89,
    "b": 184
  },
  "hsl": {
    "h": 221.912,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.48923,
    "c": 0.15745,
    "h": 263.9
  },
  "luminance": 0.11234
}

Semantic roles & 50–950 ramp

primary
#3059B8
secondary
#C8B17C
accent
#B346E2
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3059B8

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

Preview Lab → · Contrast checker → · Palette generator →

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