#305BB0#305BB0

#305BB0 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.8% C 0.144 H 262.3°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#305BB0
RGBrgb(48, 91, 176)
HSLhsl(220, 57%, 44%)
HSVhsv(220, 73%, 69%)
CMYKcmyk(72.7%, 48.3%, 0%, 31%)
CIE-LABlab(39.99, 14.92, -49.70)
CIE-LCHlch(39.99, 51.89, 286.71°)
OKLaboklab(48.77% -0.0194 -0.1426)
OKLCHoklch(48.77% 0.144 262.3)
XYZxyz(12.7937, 11.2438, 42.5619)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305BB0 #B08530
analogous
#309BB0 #305BB0 #4530B0
triadic
#305BB0 #B0305B #5BB030
tetradic
#305BB0 #B0309B #B08530 #30B045
square
#305BB0 #B0309B #B08530 #30B045
split-complementary
#305BB0 #B04530 #9BB030
monochromatic
#162950 #234280 #305BB0 #4E7ACF #7E9EDC

Accessibility & contrast

On white

6.46
#305BB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#305BB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305BB0
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305BB0#FFFFFF#000000##FFFFFF
##305BB01.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C64B3
Deuteranopia (green-blind)
#0659AE
Tritanopia (blue-blind)
#006F7D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #305bb0;
/* rgb */ color: rgb(48, 91, 176);
/* oklch */ color: oklch(48.8% 0.144 262.3);
Tailwind
colors: {
  custom: {
    50: '#7988c8',
    500: '#305bb0',
    950: '#000000',
  },
}
SCSS
$custom: #305bb0;
$custom-light: #7988c8;
$custom-dark: #000000;
JSON
{
  "hex": "#305bb0",
  "rgb": {
    "r": 48,
    "g": 91,
    "b": 176
  },
  "hsl": {
    "h": 219.844,
    "s": 57.143,
    "l": 43.922
  },
  "oklch": {
    "l": 0.48765,
    "c": 0.14392,
    "h": 262.3
  },
  "luminance": 0.11245
}

Semantic roles & 50–950 ramp

primary
#305BB0
secondary
#C5AB77
accent
#AD47E0
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #305BB0

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

Preview Lab → · Contrast checker → · Palette generator →

#305BB0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva