#3055A5#3055A5

#3055A5 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.7% C 0.136 H 263.4°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#3055A5
RGBrgb(48, 85, 165)
HSLhsl(221, 55%, 42%)
HSVhsv(221, 71%, 65%)
CMYKcmyk(70.9%, 48.5%, 0%, 35.3%)
CIE-LABlab(37.56, 14.70, -47.10)
CIE-LCHlch(37.56, 49.34, 287.33°)
OKLaboklab(46.67% -0.0156 -0.135)
OKLCHoklch(46.67% 0.136 263.4)
XYZxyz(11.2566, 9.8408, 36.8962)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3055A5 #A58030
analogous
#3090A5 #3055A5 #4630A5
triadic
#3055A5 #A53055 #55A530
tetradic
#3055A5 #A53090 #A58030 #30A546
square
#3055A5 #A53090 #A58030 #30A546
split-complementary
#3055A5 #A54630 #90A530
monochromatic
#142446 #223D76 #3055A5 #4871CA #7896D8

Accessibility & contrast

On white

7.07
#3055A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#3055A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3055A5
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3055A5#FFFFFF#000000##FFFFFF
##3055A51.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5EA8
Deuteranopia (green-blind)
#0B53A3
Tritanopia (blue-blind)
#006875
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3055a5;
/* rgb */ color: rgb(48, 85, 165);
/* oklch */ color: oklch(46.7% 0.136 263.4);
Tailwind
colors: {
  custom: {
    50: '#7784c0',
    500: '#3055a5',
    950: '#000000',
  },
}
SCSS
$custom: #3055a5;
$custom-light: #7784c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3055a5",
  "rgb": {
    "r": 48,
    "g": 85,
    "b": 165
  },
  "hsl": {
    "h": 221.026,
    "s": 54.93,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46669,
    "c": 0.13595,
    "h": 263.4
  },
  "luminance": 0.09842
}

Semantic roles & 50–950 ramp

primary
#3055A5
secondary
#C0A771
accent
#AF4ADE
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #3055A5

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

Preview Lab → · Contrast checker → · Palette generator →

#3055A5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva