#305ADB#305ADB

#305ADB is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 51.9% C 0.203 H 265.7°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#305ADB
RGBrgb(48, 90, 219)
HSLhsl(225, 70%, 52%)
HSVhsv(225, 78%, 86%)
CMYKcmyk(78.1%, 58.9%, 0%, 14.1%)
CIE-LABlab(42.84, 31.66, -70.00)
CIE-LCHlch(42.84, 76.82, 294.34°)
OKLaboklab(51.91% -0.0151 -0.2023)
OKLCHoklch(51.91% 0.203 265.7)
XYZxyz(17.6568, 13.0531, 68.5930)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305ADB #DBB130
analogous
#30B0DB #305ADB #5B30DB
triadic
#305ADB #DB305A #5ADB30
tetradic
#305ADB #DB30B0 #DBB130 #30DB5B
square
#305ADB #DB30B0 #DBB130 #30DB5B
split-complementary
#305ADB #DB5B30 #B0DB30
monochromatic
#152E7B #1E42AF #305ADB #6484E4 #98ADED

Accessibility & contrast

On white

5.82
#305ADB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#305ADB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305ADB
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305ADB#FFFFFF#000000##FFFFFF
##305ADB1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDF
Deuteranopia (green-blind)
#005DD9
Tritanopia (blue-blind)
#007B92
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #305adb;
/* rgb */ color: rgb(48, 90, 219);
/* oklch */ color: oklch(51.9% 0.203 265.7);
Tailwind
colors: {
  custom: {
    50: '#8388e7',
    500: '#305adb',
    950: '#000000',
  },
}
SCSS
$custom: #305adb;
$custom-light: #8388e7;
$custom-dark: #000000;
JSON
{
  "hex": "#305adb",
  "rgb": {
    "r": 48,
    "g": 90,
    "b": 219
  },
  "hsl": {
    "h": 225.263,
    "s": 70.37,
    "l": 52.353
  },
  "oklch": {
    "l": 0.51909,
    "c": 0.20286,
    "h": 265.7
  },
  "luminance": 0.13055
}

Semantic roles & 50–950 ramp

primary
#305ADB
secondary
#D9C68E
accent
#C13BED
background
#F8F8FE
surface
#F0EFFD
border
#CBCAD5
text
#0C0B16
muted
#7D7C84

Preview Lab

Preview with #305ADB

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

Preview Lab → · Contrast checker → · Palette generator →

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