#305EBD#305EBD

#305EBD is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.3% C 0.158 H 262.7°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#305EBD
RGBrgb(48, 94, 189)
HSLhsl(220, 59%, 46%)
HSVhsv(220, 75%, 74%)
CMYKcmyk(74.6%, 50.3%, 0%, 25.9%)
CIE-LABlab(41.70, 17.87, -54.56)
CIE-LCHlch(41.70, 57.41, 288.13°)
OKLaboklab(50.35% -0.0202 -0.1569)
OKLCHoklch(50.35% 0.158 262.7)
XYZxyz(14.4037, 12.3063, 49.7505)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305EBD #BD8F30
analogous
#30A5BD #305EBD #4930BD
triadic
#305EBD #BD305E #5EBD30
tetradic
#305EBD #BD30A5 #BD8F30 #30BD49
square
#305EBD #BD30A5 #BD8F30 #30BD49
split-complementary
#305EBD #BD4930 #A5BD30
monochromatic
#172D5B #24468C #305EBD #567FD4 #87A4E0

Accessibility & contrast

On white

6.07
#305EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#305EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305EBD
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305EBD#FFFFFF#000000##FFFFFF
##305EBD1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2469C0
Deuteranopia (green-blind)
#005CBB
Tritanopia (blue-blind)
#007584
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #305ebd;
/* rgb */ color: rgb(48, 94, 189);
/* oklch */ color: oklch(50.3% 0.158 262.7);
Tailwind
colors: {
  custom: {
    50: '#7c8bd1',
    500: '#305ebd',
    950: '#000000',
  },
}
SCSS
$custom: #305ebd;
$custom-light: #7c8bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#305ebd",
  "rgb": {
    "r": 48,
    "g": 94,
    "b": 189
  },
  "hsl": {
    "h": 220.426,
    "s": 59.494,
    "l": 46.471
  },
  "oklch": {
    "l": 0.5035,
    "c": 0.15815,
    "h": 262.7
  },
  "luminance": 0.12308
}

Semantic roles & 50–950 ramp

primary
#305EBD
secondary
#CAB27F
accent
#AF45E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #305EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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