#305E99#305E99

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

Color values

HEX#305E99
RGBrgb(48, 94, 153)
HSLhsl(214, 52%, 39%)
HSVhsv(214, 69%, 60%)
CMYKcmyk(68.6%, 38.6%, 0%, 40%)
CIE-LABlab(39.47, 4.35, -36.87)
CIE-LCHlch(39.47, 37.13, 276.74°)
OKLaboklab(47.91% -0.0269 -0.1049)
OKLCHoklch(47.91% 0.108 255.6)
XYZxyz(10.9693, 10.9326, 31.6629)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305E99 #996B30
analogous
#309399 #305E99 #363099
triadic
#305E99 #99305E #5E9930
tetradic
#305E99 #993093 #996B30 #309936
square
#305E99 #993093 #996B30 #309936
split-complementary
#305E99 #993630 #939930
monochromatic
#13253C #21416A #305E99 #427BC4 #719CD2

Accessibility & contrast

On white

6.59
#305E99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #305E99
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305E99#FFFFFF#000000##FFFFFF
##305E991.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44629B
Deuteranopia (green-blind)
#345898
Tritanopia (blue-blind)
#006C74
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #305e99;
/* rgb */ color: rgb(48, 94, 153);
/* oklch */ color: oklch(47.9% 0.108 255.6);
Tailwind
colors: {
  custom: {
    50: '#748bb7',
    500: '#305e99',
    950: '#000000',
  },
}
SCSS
$custom: #305e99;
$custom-light: #748bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#305e99",
  "rgb": {
    "r": 48,
    "g": 94,
    "b": 153
  },
  "hsl": {
    "h": 213.714,
    "s": 52.239,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4791,
    "c": 0.10826,
    "h": 255.6
  },
  "luminance": 0.10934
}

Semantic roles & 50–950 ramp

primary
#305E99
secondary
#BA976B
accent
#9D4CDC
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #305E99

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

Preview Lab → · Contrast checker → · Palette generator →

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