#305BBD#305BBD

#305BBD is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.7% C 0.162 H 263.7°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#305BBD
RGBrgb(48, 91, 189)
HSLhsl(222, 59%, 46%)
HSVhsv(222, 75%, 74%)
CMYKcmyk(74.6%, 51.9%, 0%, 25.9%)
CIE-LABlab(40.87, 19.82, -55.90)
CIE-LCHlch(40.87, 59.31, 289.52°)
OKLaboklab(49.72% -0.0177 -0.1609)
OKLCHoklch(49.72% 0.162 263.7)
XYZxyz(14.1421, 11.7831, 49.6633)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305BBD #BD9230
analogous
#30A2BD #305BBD #4C30BD
triadic
#305BBD #BD305B #5BBD30
tetradic
#305BBD #BD30A2 #BD9230 #30BD4C
square
#305BBD #BD30A2 #BD9230 #30BD4C
split-complementary
#305BBD #BD4C30 #A2BD30
monochromatic
#172C5B #24448C #305BBD #567DD4 #87A2E0

Accessibility & contrast

On white

6.26
#305BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#305BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305BBD
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305BBD#FFFFFF#000000##FFFFFF
##305BBD1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A67C1
Deuteranopia (green-blind)
#005ABB
Tritanopia (blue-blind)
#007383
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #305bbd;
/* rgb */ color: rgb(48, 91, 189);
/* oklch */ color: oklch(49.7% 0.162 263.7);
Tailwind
colors: {
  custom: {
    50: '#7c88d2',
    500: '#305bbd',
    950: '#000000',
  },
}
SCSS
$custom: #305bbd;
$custom-light: #7c88d2;
$custom-dark: #000000;
JSON
{
  "hex": "#305bbd",
  "rgb": {
    "r": 48,
    "g": 91,
    "b": 189
  },
  "hsl": {
    "h": 221.702,
    "s": 59.494,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49719,
    "c": 0.16183,
    "h": 263.7
  },
  "luminance": 0.11785
}

Semantic roles & 50–950 ramp

primary
#305BBD
secondary
#CAB37F
accent
#B345E3
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #305BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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