#305BBB#305BBB

#305BBB is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.6% C 0.159 H 263.5°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#305BBB
RGBrgb(48, 91, 187)
HSLhsl(221, 59%, 46%)
HSVhsv(221, 74%, 73%)
CMYKcmyk(74.3%, 51.3%, 0%, 26.7%)
CIE-LABlab(40.73, 19.07, -54.96)
CIE-LCHlch(40.73, 58.17, 289.13°)
OKLaboklab(49.57% -0.0179 -0.1581)
OKLCHoklch(49.57% 0.159 263.5)
XYZxyz(13.9265, 11.6969, 48.5278)
Luminance0.1170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305BBB #BB9030
analogous
#30A0BB #305BBB #4A30BB
triadic
#305BBB #BB305B #5BBB30
tetradic
#305BBB #BB30A0 #BB9030 #30BB4A
square
#305BBB #BB30A0 #BB9030 #30BB4A
split-complementary
#305BBB #BB4A30 #A0BB30
monochromatic
#172C5A #23438A #305BBB #557CD3 #86A1E0

Accessibility & contrast

On white

6.29
#305BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#305BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305BBB
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305BBB#FFFFFF#000000##FFFFFF
##305BBB1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E67BE
Deuteranopia (green-blind)
#005AB9
Tritanopia (blue-blind)
#007282
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #305bbb;
/* rgb */ color: rgb(48, 91, 187);
/* oklch */ color: oklch(49.6% 0.159 263.5);
Tailwind
colors: {
  custom: {
    50: '#7b88d0',
    500: '#305bbb',
    950: '#000000',
  },
}
SCSS
$custom: #305bbb;
$custom-light: #7b88d0;
$custom-dark: #000000;
JSON
{
  "hex": "#305bbb",
  "rgb": {
    "r": 48,
    "g": 91,
    "b": 187
  },
  "hsl": {
    "h": 221.439,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49569,
    "c": 0.1591,
    "h": 263.5
  },
  "luminance": 0.11698
}

Semantic roles & 50–950 ramp

primary
#305BBB
secondary
#C9B27D
accent
#B245E2
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #305BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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