#3077DB#3077DB

#3077DB is a mid, vivid blue. Relative luminance 0.189; OKLCH L 57.8% C 0.169 H 257.8°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#3077DB
RGBrgb(48, 119, 219)
HSLhsl(215, 70%, 52%)
HSVhsv(215, 78%, 86%)
CMYKcmyk(78.1%, 45.7%, 0%, 14.1%)
CIE-LABlab(50.61, 13.21, -57.42)
CIE-LCHlch(50.61, 58.92, 282.96°)
OKLaboklab(57.81% -0.0356 -0.1648)
OKLCHoklch(57.81% 0.169 257.8)
XYZxyz(20.5972, 18.9341, 69.5732)
Luminance0.1894 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3077DB #DB9430
analogous
#30CCDB #3077DB #3F30DB
triadic
#3077DB #DB3077 #77DB30
tetradic
#3077DB #DB30CC #DB9430 #30DB3F
square
#3077DB #DB30CC #DB9430 #30DB3F
split-complementary
#3077DB #DB3F30 #CCDB30
monochromatic
#15407B #1E5BAF #3077DB #6499E4 #98BCED

Accessibility & contrast

On white

4.39
#3077DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#3077DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3077DB
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3077DB#FFFFFF#000000##000000
##3077DB1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4181DF
Deuteranopia (green-blind)
#1671D9
Tritanopia (blue-blind)
#008F9E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #3077db;
/* rgb */ color: rgb(48, 119, 219);
/* oklch */ color: oklch(57.8% 0.169 257.8);
Tailwind
colors: {
  custom: {
    50: '#819de7',
    500: '#3077db',
    950: '#000000',
  },
}
SCSS
$custom: #3077db;
$custom-light: #819de7;
$custom-dark: #000000;
JSON
{
  "hex": "#3077db",
  "rgb": {
    "r": 48,
    "g": 119,
    "b": 219
  },
  "hsl": {
    "h": 215.088,
    "s": 70.37,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57813,
    "c": 0.1686,
    "h": 257.8
  },
  "luminance": 0.18937
}

Semantic roles & 50–950 ramp

primary
#3077DB
secondary
#D9BA8E
accent
#A33BED
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0C0E16
muted
#7D7E84

Preview Lab

Preview with #3077DB

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

Preview Lab → · Contrast checker → · Palette generator →

#3077DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva