#305F96#305F96

#305F96 is a mid, moderate cyan. Relative luminance 0.110; OKLCH L 48.0% C 0.103 H 253.8°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#305F96
RGBrgb(48, 95, 150)
HSLhsl(212, 52%, 39%)
HSVhsv(212, 68%, 59%)
CMYKcmyk(68%, 36.7%, 0%, 41.2%)
CIE-LABlab(39.60, 2.61, -34.86)
CIE-LCHlch(39.60, 34.95, 274.28°)
OKLaboklab(47.96% -0.0287 -0.099)
OKLCHoklch(47.96% 0.103 253.8)
XYZxyz(10.8141, 11.0137, 30.4042)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305F96 #966730
analogous
#309296 #305F96 #343096
triadic
#305F96 #96305F #5F9630
tetradic
#305F96 #963092 #966730 #309634
square
#305F96 #963092 #966730 #309634
split-complementary
#305F96 #963430 #929630
monochromatic
#122439 #214268 #305F96 #417DC2 #6F9CD1

Accessibility & contrast

On white

6.56
#305F96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#305F96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305F96
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305F96#FFFFFF#000000##FFFFFF
##305F961.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476398
Deuteranopia (green-blind)
#385995
Tritanopia (blue-blind)
#006C73
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #305f96;
/* rgb */ color: rgb(48, 95, 150);
/* oklch */ color: oklch(48.0% 0.103 253.8);
Tailwind
colors: {
  custom: {
    50: '#748cb5',
    500: '#305f96',
    950: '#000000',
  },
}
SCSS
$custom: #305f96;
$custom-light: #748cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#305f96",
  "rgb": {
    "r": 48,
    "g": 95,
    "b": 150
  },
  "hsl": {
    "h": 212.353,
    "s": 51.515,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47963,
    "c": 0.10304,
    "h": 253.8
  },
  "luminance": 0.11015
}

Semantic roles & 50–950 ramp

primary
#305F96
secondary
#B99469
accent
#994DDB
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #305F96

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

Preview Lab → · Contrast checker → · Palette generator →

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