#305D9D#305D9D

#305D9D is a mid, moderate blue. Relative luminance 0.109; OKLCH L 47.9% C 0.115 H 257.5°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#305D9D
RGBrgb(48, 93, 157)
HSLhsl(215, 53%, 40%)
HSVhsv(215, 69%, 62%)
CMYKcmyk(69.4%, 40.8%, 0%, 38.4%)
CIE-LABlab(39.40, 6.48, -39.38)
CIE-LCHlch(39.40, 39.91, 279.35°)
OKLaboklab(47.93% -0.0249 -0.1122)
OKLCHoklch(47.93% 0.115 257.5)
XYZxyz(11.2169, 10.8903, 33.4026)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305D9D #9D7030
analogous
#30949D #305D9D #39309D
triadic
#305D9D #9D305D #5D9D30
tetradic
#305D9D #9D3094 #9D7030 #309D39
square
#305D9D #9D3094 #9D7030 #309D39
split-complementary
#305D9D #9D3930 #949D30
monochromatic
#13253F #22416E #305D9D #447AC6 #739BD4

Accessibility & contrast

On white

6.61
#305D9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#305D9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305D9D
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305D9D#FFFFFF#000000##FFFFFF
##305D9D1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4062A0
Deuteranopia (green-blind)
#2F589C
Tritanopia (blue-blind)
#006C75
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #305d9d;
/* rgb */ color: rgb(48, 93, 157);
/* oklch */ color: oklch(47.9% 0.115 257.5);
Tailwind
colors: {
  custom: {
    50: '#758aba',
    500: '#305d9d',
    950: '#000000',
  },
}
SCSS
$custom: #305d9d;
$custom-light: #758aba;
$custom-dark: #000000;
JSON
{
  "hex": "#305d9d",
  "rgb": {
    "r": 48,
    "g": 93,
    "b": 157
  },
  "hsl": {
    "h": 215.229,
    "s": 53.171,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47928,
    "c": 0.11496,
    "h": 257.5
  },
  "luminance": 0.10891
}

Semantic roles & 50–950 ramp

primary
#305D9D
secondary
#BC9B6D
accent
#A14BDD
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #305D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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