#305F99#305F99

#305F99 is a mid, moderate cyan. Relative luminance 0.111; OKLCH L 48.1% C 0.107 H 254.9°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#305F99
RGBrgb(48, 95, 153)
HSLhsl(213, 52%, 39%)
HSVhsv(213, 69%, 60%)
CMYKcmyk(68.6%, 37.9%, 0%, 40%)
CIE-LABlab(39.77, 3.72, -36.39)
CIE-LCHlch(39.77, 36.58, 275.83°)
OKLaboklab(48.15% -0.0279 -0.1035)
OKLCHoklch(48.15% 0.107 254.9)
XYZxyz(11.0588, 11.1116, 31.6928)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305F99 #996A30
analogous
#309499 #305F99 #363099
triadic
#305F99 #99305F #5F9930
tetradic
#305F99 #993094 #996A30 #309936
square
#305F99 #993094 #996A30 #309936
split-complementary
#305F99 #993630 #949930
monochromatic
#13253C #21426A #305F99 #427CC4 #719DD2

Accessibility & contrast

On white

6.52
#305F99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#305F99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305F99
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305F99#FFFFFF#000000##FFFFFF
##305F991.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45639B
Deuteranopia (green-blind)
#365998
Tritanopia (blue-blind)
#006C74
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #305f99;
/* rgb */ color: rgb(48, 95, 153);
/* oklch */ color: oklch(48.1% 0.107 254.9);
Tailwind
colors: {
  custom: {
    50: '#748cb7',
    500: '#305f99',
    950: '#000000',
  },
}
SCSS
$custom: #305f99;
$custom-light: #748cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#305f99",
  "rgb": {
    "r": 48,
    "g": 95,
    "b": 153
  },
  "hsl": {
    "h": 213.143,
    "s": 52.239,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48145,
    "c": 0.10716,
    "h": 254.9
  },
  "luminance": 0.11113
}

Semantic roles & 50–950 ramp

primary
#305F99
secondary
#BA976B
accent
#9B4CDC
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #305F99

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

Preview Lab → · Contrast checker → · Palette generator →

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