#3059B5#3059B5

#3059B5 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.7% C 0.153 H 263.6°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#3059B5
RGBrgb(48, 89, 181)
HSLhsl(222, 58%, 45%)
HSVhsv(222, 73%, 71%)
CMYKcmyk(73.5%, 50.8%, 0%, 29%)
CIE-LABlab(39.76, 18.11, -53.01)
CIE-LCHlch(39.76, 56.02, 288.86°)
OKLaboklab(48.7% -0.017 -0.1524)
OKLCHoklch(48.7% 0.153 263.6)
XYZxyz(13.1288, 11.1079, 45.1592)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3059B5 #B58C30
analogous
#309BB5 #3059B5 #4A30B5
triadic
#3059B5 #B53059 #59B530
tetradic
#3059B5 #B5309B #B58C30 #30B54A
square
#3059B5 #B5309B #B58C30 #30B54A
split-complementary
#3059B5 #B54A30 #9BB530
monochromatic
#162954 #234185 #3059B5 #5179D1 #829EDE

Accessibility & contrast

On white

6.52
#3059B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#3059B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3059B5
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3059B5#FFFFFF#000000##FFFFFF
##3059B51.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2164B8
Deuteranopia (green-blind)
#0058B3
Tritanopia (blue-blind)
#006F7E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3059b5;
/* rgb */ color: rgb(48, 89, 181);
/* oklch */ color: oklch(48.7% 0.153 263.6);
Tailwind
colors: {
  custom: {
    50: '#7a87cc',
    500: '#3059b5',
    950: '#000000',
  },
}
SCSS
$custom: #3059b5;
$custom-light: #7a87cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3059b5",
  "rgb": {
    "r": 48,
    "g": 89,
    "b": 181
  },
  "hsl": {
    "h": 221.504,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.48699,
    "c": 0.15333,
    "h": 263.6
  },
  "luminance": 0.11109
}

Semantic roles & 50–950 ramp

primary
#3059B5
secondary
#C7AF7A
accent
#B246E1
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3059B5

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

Preview Lab → · Contrast checker → · Palette generator →

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