#305B96#305B96

#305B96 is a mid, moderate cyan. Relative luminance 0.103; OKLCH L 47.0% C 0.107 H 256.8°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#305B96
RGBrgb(48, 91, 150)
HSLhsl(215, 52%, 39%)
HSVhsv(215, 68%, 59%)
CMYKcmyk(68%, 39.3%, 0%, 41.2%)
CIE-LABlab(38.40, 5.17, -36.77)
CIE-LCHlch(38.40, 37.13, 278.00°)
OKLaboklab(47.02% -0.0245 -0.1046)
OKLCHoklch(47.02% 0.107 256.8)
XYZxyz(10.4630, 10.3115, 30.2872)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305B96 #966B30
analogous
#308E96 #305B96 #383096
triadic
#305B96 #96305B #5B9630
tetradic
#305B96 #96308E #966B30 #309638
square
#305B96 #96308E #966B30 #309638
split-complementary
#305B96 #963830 #8E9630
monochromatic
#122339 #213F68 #305B96 #4177C2 #6F99D1

Accessibility & contrast

On white

6.86
#305B96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#305B96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305B96
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305B96#FFFFFF#000000##FFFFFF
##305B961.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416098
Deuteranopia (green-blind)
#325695
Tritanopia (blue-blind)
#006971
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #305b96;
/* rgb */ color: rgb(48, 91, 150);
/* oklch */ color: oklch(47.0% 0.107 256.8);
Tailwind
colors: {
  custom: {
    50: '#7489b5',
    500: '#305b96',
    950: '#000000',
  },
}
SCSS
$custom: #305b96;
$custom-light: #7489b5;
$custom-dark: #000000;
JSON
{
  "hex": "#305b96",
  "rgb": {
    "r": 48,
    "g": 91,
    "b": 150
  },
  "hsl": {
    "h": 214.706,
    "s": 51.515,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47021,
    "c": 0.10745,
    "h": 256.8
  },
  "luminance": 0.10313
}

Semantic roles & 50–950 ramp

primary
#305B96
secondary
#B99769
accent
#9F4DDB
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #305B96

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

Preview Lab → · Contrast checker → · Palette generator →

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