#305478#305478

#305478 is a dark, moderate cyan. Relative luminance 0.083; OKLCH L 43.6% C 0.073 H 249.8°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#305478
RGBrgb(48, 84, 120)
HSLhsl(210, 43%, 33%)
HSVhsv(210, 60%, 47%)
CMYKcmyk(60%, 30%, 0%, 52.9%)
CIE-LABlab(34.65, -1.24, -24.36)
CIE-LCHlch(34.65, 24.39, 267.09°)
OKLaboklab(43.57% -0.0252 -0.0685)
OKLCHoklch(43.57% 0.073 249.8)
XYZxyz(7.7782, 8.3244, 18.9625)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305478 #785430
analogous
#307878 #305478 #303078
triadic
#305478 #783054 #547830
tetradic
#305478 #783078 #785430 #307830
square
#305478 #783078 #785430 #307830
split-complementary
#305478 #783030 #787830
monochromatic
#0D1721 #1F354C #305478 #4173A4 #6291C0

Accessibility & contrast

On white

7.88
#305478 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#305478 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305478
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305478#FFFFFF#000000##FFFFFF
##3054781.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45557A
Deuteranopia (green-blind)
#3B4E77
Tritanopia (blue-blind)
#005C61
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #305478;
/* rgb */ color: rgb(48, 84, 120);
/* oklch */ color: oklch(43.6% 0.073 249.8);
Tailwind
colors: {
  custom: {
    50: '#6f839f',
    500: '#305478',
    950: '#000000',
  },
}
SCSS
$custom: #305478;
$custom-light: #6f839f;
$custom-dark: #000000;
JSON
{
  "hex": "#305478",
  "rgb": {
    "r": 48,
    "g": 84,
    "b": 120
  },
  "hsl": {
    "h": 210,
    "s": 42.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.4357,
    "c": 0.07301,
    "h": 249.8
  },
  "luminance": 0.08325
}

Semantic roles & 50–950 ramp

primary
#305478
secondary
#A7825C
accent
#9455D3
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#080A0E
muted
#7B7C7E

Preview Lab

Preview with #305478

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

Preview Lab → · Contrast checker → · Palette generator →

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