#305DA9#305DA9

#305DA9 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 48.7% C 0.132 H 260.2°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#305DA9
RGBrgb(48, 93, 169)
HSLhsl(218, 56%, 43%)
HSVhsv(218, 72%, 66%)
CMYKcmyk(71.6%, 45%, 0%, 33.7%)
CIE-LABlab(40.11, 10.98, -45.37)
CIE-LCHlch(40.11, 46.67, 283.60°)
OKLaboklab(48.72% -0.0224 -0.1298)
OKLCHoklch(48.72% 0.132 260.2)
XYZxyz(12.2921, 11.3204, 39.0657)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305DA9 #A97C30
analogous
#3099A9 #305DA9 #4030A9
triadic
#305DA9 #A9305D #5DA930
tetradic
#305DA9 #A93099 #A97C30 #30A940
square
#305DA9 #A93099 #A97C30 #30A940
split-complementary
#305DA9 #A94030 #99A930
monochromatic
#15294A #224379 #305DA9 #4A7BCC #7A9ED9

Accessibility & contrast

On white

6.43
#305DA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#305DA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305DA9
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305DA9#FFFFFF#000000##FFFFFF
##305DA91.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3765AC
Deuteranopia (green-blind)
#2059A7
Tritanopia (blue-blind)
#006F7B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #305da9;
/* rgb */ color: rgb(48, 93, 169);
/* oklch */ color: oklch(48.7% 0.132 260.2);
Tailwind
colors: {
  custom: {
    50: '#778ac3',
    500: '#305da9',
    950: '#000000',
  },
}
SCSS
$custom: #305da9;
$custom-light: #778ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#305da9",
  "rgb": {
    "r": 48,
    "g": 93,
    "b": 169
  },
  "hsl": {
    "h": 217.686,
    "s": 55.76,
    "l": 42.549
  },
  "oklch": {
    "l": 0.48718,
    "c": 0.13174,
    "h": 260.2
  },
  "luminance": 0.11322
}

Semantic roles & 50–950 ramp

primary
#305DA9
secondary
#C2A473
accent
#A749DF
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #305DA9

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

Preview Lab → · Contrast checker → · Palette generator →

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