#305BBE#305BBE

#305BBE is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.8% C 0.163 H 263.8°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#305BBE
RGBrgb(48, 91, 190)
HSLhsl(222, 60%, 47%)
HSVhsv(222, 75%, 75%)
CMYKcmyk(74.7%, 52.1%, 0%, 25.5%)
CIE-LABlab(40.94, 20.20, -56.37)
CIE-LCHlch(40.94, 59.88, 289.71°)
OKLaboklab(49.79% -0.0176 -0.1622)
OKLCHoklch(49.79% 0.163 263.8)
XYZxyz(14.2510, 11.8267, 50.2369)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305BBE #BE9330
analogous
#30A2BE #305BBE #4C30BE
triadic
#305BBE #BE305B #5BBE30
tetradic
#305BBE #BE30A2 #BE9330 #30BE4C
square
#305BBE #BE30A2 #BE9330 #30BE4C
split-complementary
#305BBE #BE4C30 #A2BE30
monochromatic
#172C5C #24448D #305BBE #577DD4 #88A3E1

Accessibility & contrast

On white

6.24
#305BBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#305BBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305BBE
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305BBE#FFFFFF#000000##FFFFFF
##305BBE1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1867C2
Deuteranopia (green-blind)
#005ABC
Tritanopia (blue-blind)
#007384
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #305bbe;
/* rgb */ color: rgb(48, 91, 190);
/* oklch */ color: oklch(49.8% 0.163 263.8);
Tailwind
colors: {
  custom: {
    50: '#7c88d2',
    500: '#305bbe',
    950: '#000000',
  },
}
SCSS
$custom: #305bbe;
$custom-light: #7c88d2;
$custom-dark: #000000;
JSON
{
  "hex": "#305bbe",
  "rgb": {
    "r": 48,
    "g": 91,
    "b": 190
  },
  "hsl": {
    "h": 221.831,
    "s": 59.664,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49794,
    "c": 0.16319,
    "h": 263.8
  },
  "luminance": 0.11828
}

Semantic roles & 50–950 ramp

primary
#305BBE
secondary
#CBB47F
accent
#B345E3
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #305BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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