#305EBB#305EBB

#305EBB is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.2% C 0.155 H 262.5°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#305EBB
RGBrgb(48, 94, 187)
HSLhsl(220, 59%, 46%)
HSVhsv(220, 74%, 73%)
CMYKcmyk(74.3%, 49.7%, 0%, 26.7%)
CIE-LABlab(41.56, 17.12, -53.61)
CIE-LCHlch(41.56, 56.28, 287.71°)
OKLaboklab(50.2% -0.0204 -0.1541)
OKLCHoklch(50.2% 0.155 262.5)
XYZxyz(14.1881, 12.2201, 48.6150)
Luminance0.1222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305EBB #BB8D30
analogous
#30A3BB #305EBB #4730BB
triadic
#305EBB #BB305E #5EBB30
tetradic
#305EBB #BB30A3 #BB8D30 #30BB47
square
#305EBB #BB30A3 #BB8D30 #30BB47
split-complementary
#305EBB #BB4730 #A3BB30
monochromatic
#172D5A #23468A #305EBB #557FD3 #86A3E0

Accessibility & contrast

On white

6.10
#305EBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#305EBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305EBB
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305EBB#FFFFFF#000000##FFFFFF
##305EBB1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2769BE
Deuteranopia (green-blind)
#005CB9
Tritanopia (blue-blind)
#007483
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #305ebb;
/* rgb */ color: rgb(48, 94, 187);
/* oklch */ color: oklch(50.2% 0.155 262.5);
Tailwind
colors: {
  custom: {
    50: '#7b8bd0',
    500: '#305ebb',
    950: '#000000',
  },
}
SCSS
$custom: #305ebb;
$custom-light: #7b8bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#305ebb",
  "rgb": {
    "r": 48,
    "g": 94,
    "b": 187
  },
  "hsl": {
    "h": 220.144,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.50204,
    "c": 0.15542,
    "h": 262.5
  },
  "luminance": 0.12222
}

Semantic roles & 50–950 ramp

primary
#305EBB
secondary
#C9B07D
accent
#AE45E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #305EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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