#305EA9#305EA9

#305EA9 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 48.9% C 0.131 H 259.7°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#305EA9
RGBrgb(48, 94, 169)
HSLhsl(217, 56%, 43%)
HSVhsv(217, 72%, 66%)
CMYKcmyk(71.6%, 44.4%, 0%, 33.7%)
CIE-LABlab(40.41, 10.33, -44.90)
CIE-LCHlch(40.41, 46.07, 282.96°)
OKLaboklab(48.94% -0.0233 -0.1284)
OKLCHoklch(48.94% 0.131 259.7)
XYZxyz(12.3805, 11.4970, 39.0951)
Luminance0.1150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305EA9 #A97B30
analogous
#309AA9 #305EA9 #3F30A9
triadic
#305EA9 #A9305E #5EA930
tetradic
#305EA9 #A9309A #A97B30 #30A93F
square
#305EA9 #A9309A #A97B30 #30A93F
split-complementary
#305EA9 #A93F30 #9AA930
monochromatic
#15294A #224379 #305EA9 #4A7CCC #7A9ED9

Accessibility & contrast

On white

6.36
#305EA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#305EA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305EA9
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305EA9#FFFFFF#000000##FFFFFF
##305EA91.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3965AC
Deuteranopia (green-blind)
#235AA7
Tritanopia (blue-blind)
#006F7B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #305ea9;
/* rgb */ color: rgb(48, 94, 169);
/* oklch */ color: oklch(48.9% 0.131 259.7);
Tailwind
colors: {
  custom: {
    50: '#778bc3',
    500: '#305ea9',
    950: '#000000',
  },
}
SCSS
$custom: #305ea9;
$custom-light: #778bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#305ea9",
  "rgb": {
    "r": 48,
    "g": 94,
    "b": 169
  },
  "hsl": {
    "h": 217.19,
    "s": 55.76,
    "l": 42.549
  },
  "oklch": {
    "l": 0.48942,
    "c": 0.13054,
    "h": 259.7
  },
  "luminance": 0.11498
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #305EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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