#305ABB#305ABB

#305ABB is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.4% C 0.160 H 263.9°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#305ABB
RGBrgb(48, 90, 187)
HSLhsl(222, 59%, 46%)
HSVhsv(222, 74%, 73%)
CMYKcmyk(74.3%, 51.9%, 0%, 26.7%)
CIE-LABlab(40.45, 19.72, -55.41)
CIE-LCHlch(40.45, 58.81, 289.59°)
OKLaboklab(49.36% -0.0171 -0.1594)
OKLCHoklch(49.36% 0.16 263.9)
XYZxyz(13.8415, 11.5270, 48.4995)
Luminance0.1153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305ABB #BB9130
analogous
#309FBB #305ABB #4C30BB
triadic
#305ABB #BB305A #5ABB30
tetradic
#305ABB #BB309F #BB9130 #30BB4C
square
#305ABB #BB309F #BB9130 #30BB4C
split-complementary
#305ABB #BB4C30 #9FBB30
monochromatic
#172B5A #23438A #305ABB #557BD3 #86A1E0

Accessibility & contrast

On white

6.35
#305ABB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#305ABB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305ABB
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305ABB#FFFFFF#000000##FFFFFF
##305ABB1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A66BE
Deuteranopia (green-blind)
#0059B9
Tritanopia (blue-blind)
#007182
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #305abb;
/* rgb */ color: rgb(48, 90, 187);
/* oklch */ color: oklch(49.4% 0.160 263.9);
Tailwind
colors: {
  custom: {
    50: '#7b88d0',
    500: '#305abb',
    950: '#000000',
  },
}
SCSS
$custom: #305abb;
$custom-light: #7b88d0;
$custom-dark: #000000;
JSON
{
  "hex": "#305abb",
  "rgb": {
    "r": 48,
    "g": 90,
    "b": 187
  },
  "hsl": {
    "h": 221.871,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49359,
    "c": 0.16033,
    "h": 263.9
  },
  "luminance": 0.11529
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #305ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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