#305A91#305A91

#305A91 is a mid, moderate cyan. Relative luminance 0.100; OKLCH L 46.5% C 0.102 H 255.9°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#305A91
RGBrgb(48, 90, 145)
HSLhsl(214, 50%, 38%)
HSVhsv(214, 67%, 57%)
CMYKcmyk(66.9%, 37.9%, 0%, 43.1%)
CIE-LABlab(37.81, 3.96, -34.68)
CIE-LCHlch(37.81, 34.90, 276.52°)
OKLaboklab(46.48% -0.0247 -0.0985)
OKLCHoklch(46.48% 0.102 255.9)
XYZxyz(9.9841, 9.9841, 28.1835)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305A91 #916730
analogous
#308A91 #305A91 #373091
triadic
#305A91 #91305A #5A9130
tetradic
#305A91 #91308A #916730 #309137
square
#305A91 #91308A #916730 #309137
split-complementary
#305A91 #913730 #8A9130
monochromatic
#122135 #213D63 #305A91 #3F77BF #6D97CF

Accessibility & contrast

On white

7.01
#305A91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#305A91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305A91
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305A91#FFFFFF#000000##FFFFFF
##305A911.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425E93
Deuteranopia (green-blind)
#345590
Tritanopia (blue-blind)
#00676E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #305a91;
/* rgb */ color: rgb(48, 90, 145);
/* oklch */ color: oklch(46.5% 0.102 255.9);
Tailwind
colors: {
  custom: {
    50: '#7388b1',
    500: '#305a91',
    950: '#000000',
  },
}
SCSS
$custom: #305a91;
$custom-light: #7388b1;
$custom-dark: #000000;
JSON
{
  "hex": "#305a91",
  "rgb": {
    "r": 48,
    "g": 90,
    "b": 145
  },
  "hsl": {
    "h": 214.021,
    "s": 50.259,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46476,
    "c": 0.10156,
    "h": 255.9
  },
  "luminance": 0.09985
}

Semantic roles & 50–950 ramp

primary
#305A91
secondary
#B69467
accent
#9D4EDA
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #305A91

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

Preview Lab → · Contrast checker → · Palette generator →

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