#305C99#305C99

#305C99 is a mid, moderate cyan. Relative luminance 0.106; OKLCH L 47.4% C 0.111 H 257.0°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#305C99
RGBrgb(48, 92, 153)
HSLhsl(215, 52%, 39%)
HSVhsv(215, 69%, 60%)
CMYKcmyk(68.6%, 39.9%, 0%, 40%)
CIE-LABlab(38.87, 5.64, -37.82)
CIE-LCHlch(38.87, 38.24, 278.48°)
OKLaboklab(47.44% -0.0248 -0.1077)
OKLCHoklch(47.44% 0.111 257)
XYZxyz(10.7938, 10.5815, 31.6044)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305C99 #996D30
analogous
#309199 #305C99 #383099
triadic
#305C99 #99305C #5C9930
tetradic
#305C99 #993091 #996D30 #309938
square
#305C99 #993091 #996D30 #309938
split-complementary
#305C99 #993830 #919930
monochromatic
#13243C #21406A #305C99 #4279C4 #719AD2

Accessibility & contrast

On white

6.74
#305C99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#305C99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305C99
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305C99#FFFFFF#000000##FFFFFF
##305C991.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40619B
Deuteranopia (green-blind)
#315798
Tritanopia (blue-blind)
#006A73
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #305c99;
/* rgb */ color: rgb(48, 92, 153);
/* oklch */ color: oklch(47.4% 0.111 257.0);
Tailwind
colors: {
  custom: {
    50: '#7489b7',
    500: '#305c99',
    950: '#000000',
  },
}
SCSS
$custom: #305c99;
$custom-light: #7489b7;
$custom-dark: #000000;
JSON
{
  "hex": "#305c99",
  "rgb": {
    "r": 48,
    "g": 92,
    "b": 153
  },
  "hsl": {
    "h": 214.857,
    "s": 52.239,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47443,
    "c": 0.11051,
    "h": 257
  },
  "luminance": 0.10583
}

Semantic roles & 50–950 ramp

primary
#305C99
secondary
#BA996B
accent
#A04CDC
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #305C99

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

Preview Lab → · Contrast checker → · Palette generator →

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