#305D99#305D99

#305D99 is a mid, moderate cyan. Relative luminance 0.108; OKLCH L 47.7% C 0.109 H 256.3°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#305D99
RGBrgb(48, 93, 153)
HSLhsl(214, 52%, 39%)
HSVhsv(214, 69%, 60%)
CMYKcmyk(68.6%, 39.2%, 0%, 40%)
CIE-LABlab(39.17, 4.99, -37.35)
CIE-LCHlch(39.17, 37.68, 277.62°)
OKLaboklab(47.68% -0.0258 -0.1063)
OKLCHoklch(47.68% 0.109 256.3)
XYZxyz(10.8810, 10.7559, 31.6335)
Luminance0.1076 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305D99 #996C30
analogous
#309299 #305D99 #383099
triadic
#305D99 #99305D #5D9930
tetradic
#305D99 #993092 #996C30 #309938
square
#305D99 #993092 #996C30 #309938
split-complementary
#305D99 #993830 #929930
monochromatic
#13243C #21416A #305D99 #427AC4 #719BD2

Accessibility & contrast

On white

6.66
#305D99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#305D99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305D99
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305D99#FFFFFF#000000##FFFFFF
##305D991.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42629B
Deuteranopia (green-blind)
#325898
Tritanopia (blue-blind)
#006B73
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #305d99;
/* rgb */ color: rgb(48, 93, 153);
/* oklch */ color: oklch(47.7% 0.109 256.3);
Tailwind
colors: {
  custom: {
    50: '#748ab7',
    500: '#305d99',
    950: '#000000',
  },
}
SCSS
$custom: #305d99;
$custom-light: #748ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#305d99",
  "rgb": {
    "r": 48,
    "g": 93,
    "b": 153
  },
  "hsl": {
    "h": 214.286,
    "s": 52.239,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47676,
    "c": 0.10938,
    "h": 256.3
  },
  "luminance": 0.10757
}

Semantic roles & 50–950 ramp

primary
#305D99
secondary
#BA986B
accent
#9E4CDC
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #305D99

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

Preview Lab → · Contrast checker → · Palette generator →

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