#3059A2#3059A2

#3059A2 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.3% C 0.127 H 261.0°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#3059A2
RGBrgb(48, 89, 162)
HSLhsl(218, 54%, 41%)
HSVhsv(218, 70%, 64%)
CMYKcmyk(70.4%, 45.1%, 0%, 36.5%)
CIE-LABlab(38.52, 10.95, -43.77)
CIE-LCHlch(38.52, 45.11, 284.04°)
OKLaboklab(47.35% -0.0199 -0.1252)
OKLCHoklch(47.35% 0.127 261)
XYZxyz(11.3106, 10.3806, 35.5830)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3059A2 #A27930
analogous
#3092A2 #3059A2 #4030A2
triadic
#3059A2 #A23059 #59A230
tetradic
#3059A2 #A23092 #A27930 #30A240
square
#3059A2 #A23092 #A27930 #30A240
split-complementary
#3059A2 #A24030 #92A230
monochromatic
#142544 #223F73 #3059A2 #4775C8 #7699D6

Accessibility & contrast

On white

6.83
#3059A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#3059A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3059A2
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3059A2#FFFFFF#000000##FFFFFF
##3059A21.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3560A5
Deuteranopia (green-blind)
#2056A1
Tritanopia (blue-blind)
#006A75
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3059a2;
/* rgb */ color: rgb(48, 89, 162);
/* oklch */ color: oklch(47.3% 0.127 261.0);
Tailwind
colors: {
  custom: {
    50: '#7687be',
    500: '#3059a2',
    950: '#000000',
  },
}
SCSS
$custom: #3059a2;
$custom-light: #7687be;
$custom-dark: #000000;
JSON
{
  "hex": "#3059a2",
  "rgb": {
    "r": 48,
    "g": 89,
    "b": 162
  },
  "hsl": {
    "h": 218.421,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.47346,
    "c": 0.12675,
    "h": 261
  },
  "luminance": 0.10382
}

Semantic roles & 50–950 ramp

primary
#3059A2
secondary
#BEA26F
accent
#A94ADE
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #3059A2

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

Preview Lab → · Contrast checker → · Palette generator →

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