#305C96#305C96

#305C96 is a mid, moderate cyan. Relative luminance 0.105; OKLCH L 47.3% C 0.106 H 256.1°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#305C96
RGBrgb(48, 92, 150)
HSLhsl(214, 52%, 39%)
HSVhsv(214, 68%, 59%)
CMYKcmyk(68%, 38.7%, 0%, 41.2%)
CIE-LABlab(38.70, 4.52, -36.29)
CIE-LCHlch(38.70, 36.57, 277.11°)
OKLaboklab(47.26% -0.0255 -0.1032)
OKLCHoklch(47.26% 0.106 256.1)
XYZxyz(10.5491, 10.4836, 30.3158)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305C96 #966A30
analogous
#308F96 #305C96 #373096
triadic
#305C96 #96305C #5C9630
tetradic
#305C96 #96308F #966A30 #309637
square
#305C96 #96308F #966A30 #309637
split-complementary
#305C96 #963730 #8F9630
monochromatic
#122339 #214068 #305C96 #4179C2 #6F99D1

Accessibility & contrast

On white

6.78
#305C96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#305C96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305C96
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305C96#FFFFFF#000000##FFFFFF
##305C961.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426098
Deuteranopia (green-blind)
#335795
Tritanopia (blue-blind)
#006972
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #305c96;
/* rgb */ color: rgb(48, 92, 150);
/* oklch */ color: oklch(47.3% 0.106 256.1);
Tailwind
colors: {
  custom: {
    50: '#7489b5',
    500: '#305c96',
    950: '#000000',
  },
}
SCSS
$custom: #305c96;
$custom-light: #7489b5;
$custom-dark: #000000;
JSON
{
  "hex": "#305c96",
  "rgb": {
    "r": 48,
    "g": 92,
    "b": 150
  },
  "hsl": {
    "h": 214.118,
    "s": 51.515,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47255,
    "c": 0.10632,
    "h": 256.1
  },
  "luminance": 0.10485
}

Semantic roles & 50–950 ramp

primary
#305C96
secondary
#B99669
accent
#9E4DDB
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #305C96

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

Preview Lab → · Contrast checker → · Palette generator →

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