#305BBF#305BBF

#305BBF is a mid, vivid blue. Relative luminance 0.119; OKLCH L 49.9% C 0.165 H 263.9°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#305BBF
RGBrgb(48, 91, 191)
HSLhsl(222, 60%, 47%)
HSVhsv(222, 75%, 75%)
CMYKcmyk(74.9%, 52.4%, 0%, 25.1%)
CIE-LABlab(41.01, 20.57, -56.84)
CIE-LCHlch(41.01, 60.45, 289.90°)
OKLaboklab(49.87% -0.0175 -0.1636)
OKLCHoklch(49.87% 0.165 263.9)
XYZxyz(14.3606, 11.8706, 50.8145)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305BBF #BF9430
analogous
#30A3BF #305BBF #4D30BF
triadic
#305BBF #BF305B #5BBF30
tetradic
#305BBF #BF30A3 #BF9430 #30BF4D
square
#305BBF #BF30A3 #BF9430 #30BF4D
split-complementary
#305BBF #BF4D30 #A3BF30
monochromatic
#172C5D #24448E #305BBF #577DD5 #88A3E1

Accessibility & contrast

On white

6.22
#305BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #305BBF
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305BBF#FFFFFF#000000##FFFFFF
##305BBF1.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1668C3
Deuteranopia (green-blind)
#005ABD
Tritanopia (blue-blind)
#007384
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #305bbf;
/* rgb */ color: rgb(48, 91, 191);
/* oklch */ color: oklch(49.9% 0.165 263.9);
Tailwind
colors: {
  custom: {
    50: '#7c88d3',
    500: '#305bbf',
    950: '#000000',
  },
}
SCSS
$custom: #305bbf;
$custom-light: #7c88d3;
$custom-dark: #000000;
JSON
{
  "hex": "#305bbf",
  "rgb": {
    "r": 48,
    "g": 91,
    "b": 191
  },
  "hsl": {
    "h": 221.958,
    "s": 59.833,
    "l": 46.863
  },
  "oklch": {
    "l": 0.4987,
    "c": 0.16456,
    "h": 263.9
  },
  "luminance": 0.11872
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #305BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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