#305992#305992

#305992 is a mid, moderate cyan. Relative luminance 0.098; OKLCH L 46.3% C 0.104 H 257.0°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#305992
RGBrgb(48, 89, 146)
HSLhsl(215, 51%, 38%)
HSVhsv(215, 67%, 57%)
CMYKcmyk(67.1%, 39%, 0%, 42.7%)
CIE-LABlab(37.57, 4.97, -35.67)
CIE-LCHlch(37.57, 36.02, 277.94°)
OKLaboklab(46.3% -0.0234 -0.1014)
OKLCHoklch(46.3% 0.104 257)
XYZxyz(9.9777, 9.8475, 28.5635)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305992 #926930
analogous
#308A92 #305992 #383092
triadic
#305992 #923059 #599230
tetradic
#305992 #92308A #926930 #309238
square
#305992 #92308A #926930 #309238
split-complementary
#305992 #923830 #8A9230
monochromatic
#122136 #213D64 #305992 #3F75C0 #6D96CF

Accessibility & contrast

On white

7.07
#305992 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#305992 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305992
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305992#FFFFFF#000000##FFFFFF
##3059921.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405D94
Deuteranopia (green-blind)
#325491
Tritanopia (blue-blind)
#00666E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #305992;
/* rgb */ color: rgb(48, 89, 146);
/* oklch */ color: oklch(46.3% 0.104 257.0);
Tailwind
colors: {
  custom: {
    50: '#7387b2',
    500: '#305992',
    950: '#000000',
  },
}
SCSS
$custom: #305992;
$custom-light: #7387b2;
$custom-dark: #000000;
JSON
{
  "hex": "#305992",
  "rgb": {
    "r": 48,
    "g": 89,
    "b": 146
  },
  "hsl": {
    "h": 214.898,
    "s": 50.515,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46303,
    "c": 0.10409,
    "h": 257
  },
  "luminance": 0.09848
}

Semantic roles & 50–950 ramp

primary
#305992
secondary
#B79567
accent
#9F4EDA
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #305992

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

Preview Lab → · Contrast checker → · Palette generator →

#305992 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva