#305D9F#305D9F

#305D9F is a mid, moderate blue. Relative luminance 0.110; OKLCH L 48.1% C 0.118 H 258.0°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#305D9F
RGBrgb(48, 93, 159)
HSLhsl(216, 54%, 41%)
HSVhsv(216, 70%, 62%)
CMYKcmyk(69.8%, 41.5%, 0%, 37.6%)
CIE-LABlab(39.51, 7.23, -40.39)
CIE-LCHlch(39.51, 41.03, 280.15°)
OKLaboklab(48.06% -0.0244 -0.1152)
OKLCHoklch(48.06% 0.118 258)
XYZxyz(11.3890, 10.9591, 34.3093)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305D9F #9F7230
analogous
#30949F #305D9F #3B309F
triadic
#305D9F #9F305D #5D9F30
tetradic
#305D9F #9F3094 #9F7230 #309F3B
square
#305D9F #9F3094 #9F7230 #309F3B
split-complementary
#305D9F #9F3B30 #949F30
monochromatic
#142641 #224270 #305D9F #457AC7 #749CD5

Accessibility & contrast

On white

6.58
#305D9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#305D9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305D9F
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305D9F#FFFFFF#000000##FFFFFF
##305D9F1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E63A2
Deuteranopia (green-blind)
#2D589E
Tritanopia (blue-blind)
#006C76
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #305d9f;
/* rgb */ color: rgb(48, 93, 159);
/* oklch */ color: oklch(48.1% 0.118 258.0);
Tailwind
colors: {
  custom: {
    50: '#758abc',
    500: '#305d9f',
    950: '#000000',
  },
}
SCSS
$custom: #305d9f;
$custom-light: #758abc;
$custom-dark: #000000;
JSON
{
  "hex": "#305d9f",
  "rgb": {
    "r": 48,
    "g": 93,
    "b": 159
  },
  "hsl": {
    "h": 215.676,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.48056,
    "c": 0.11775,
    "h": 258
  },
  "luminance": 0.1096
}

Semantic roles & 50–950 ramp

primary
#305D9F
secondary
#BD9D6E
accent
#A24BDD
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #305D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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