#305599#305599

#305599 is a mid, moderate blue. Relative luminance 0.094; OKLCH L 45.8% C 0.119 H 261.4°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#305599
RGBrgb(48, 85, 153)
HSLhsl(219, 52%, 39%)
HSVhsv(219, 69%, 60%)
CMYKcmyk(68.6%, 44.4%, 0%, 40%)
CIE-LABlab(36.79, 10.19, -41.14)
CIE-LCHlch(36.79, 42.38, 283.91°)
OKLaboklab(45.83% -0.0177 -0.1175)
OKLCHoklch(45.83% 0.119 261.4)
XYZxyz(10.2152, 9.4243, 31.4115)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305599 #997430
analogous
#308A99 #305599 #3F3099
triadic
#305599 #993055 #559930
tetradic
#305599 #99308A #997430 #30993F
square
#305599 #99308A #997430 #30993F
split-complementary
#305599 #993F30 #8A9930
monochromatic
#13213C #213B6A #305599 #4270C4 #7193D2

Accessibility & contrast

On white

7.28
#305599 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#305599 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305599
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305599#FFFFFF#000000##FFFFFF
##3055991.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345C9C
Deuteranopia (green-blind)
#235298
Tritanopia (blue-blind)
#00656F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #305599;
/* rgb */ color: rgb(48, 85, 153);
/* oklch */ color: oklch(45.8% 0.119 261.4);
Tailwind
colors: {
  custom: {
    50: '#7484b7',
    500: '#305599',
    950: '#000000',
  },
}
SCSS
$custom: #305599;
$custom-light: #7484b7;
$custom-dark: #000000;
JSON
{
  "hex": "#305599",
  "rgb": {
    "r": 48,
    "g": 85,
    "b": 153
  },
  "hsl": {
    "h": 218.857,
    "s": 52.239,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45834,
    "c": 0.11884,
    "h": 261.4
  },
  "luminance": 0.09425
}

Semantic roles & 50–950 ramp

primary
#305599
secondary
#BA9E6B
accent
#A94CDC
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #305599

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

Preview Lab → · Contrast checker → · Palette generator →

#305599 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva