#305682#305682

#305682 is a dark, moderate cyan. Relative luminance 0.089; OKLCH L 44.6% C 0.085 H 253.3°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#305682
RGBrgb(48, 86, 130)
HSLhsl(212, 46%, 35%)
HSVhsv(212, 63%, 51%)
CMYKcmyk(63.1%, 33.8%, 0%, 49%)
CIE-LABlab(35.78, 1.05, -28.75)
CIE-LCHlch(35.78, 28.77, 272.10°)
OKLaboklab(44.62% -0.0244 -0.0813)
OKLCHoklch(44.62% 0.085 253.3)
XYZxyz(8.5745, 8.8949, 22.3798)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305682 #825C30
analogous
#307F82 #305682 #333082
triadic
#305682 #823056 #568230
tetradic
#305682 #82307F #825C30 #308233
square
#305682 #82307F #825C30 #308233
split-complementary
#305682 #823330 #7F8230
monochromatic
#0F1B29 #1F3855 #305682 #4174AF #6693C6

Accessibility & contrast

On white

7.56
#305682 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#305682 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305682
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305682#FFFFFF#000000##FFFFFF
##3056821.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435884
Deuteranopia (green-blind)
#385181
Tritanopia (blue-blind)
#006066
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #305682;
/* rgb */ color: rgb(48, 86, 130);
/* oklch */ color: oklch(44.6% 0.085 253.3);
Tailwind
colors: {
  custom: {
    50: '#7085a6',
    500: '#305682',
    950: '#000000',
  },
}
SCSS
$custom: #305682;
$custom-light: #7085a6;
$custom-dark: #000000;
JSON
{
  "hex": "#305682",
  "rgb": {
    "r": 48,
    "g": 86,
    "b": 130
  },
  "hsl": {
    "h": 212.195,
    "s": 46.067,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44624,
    "c": 0.08485,
    "h": 253.3
  },
  "luminance": 0.08896
}

Semantic roles & 50–950 ramp

primary
#305682
secondary
#AE8A60
accent
#9952D6
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B0F
muted
#7B7C7F

Preview Lab

Preview with #305682

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

Preview Lab → · Contrast checker → · Palette generator →

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