#305A84#305A84

#305A84 is a mid, moderate cyan. Relative luminance 0.096; OKLCH L 45.7% C 0.084 H 250.1°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#305A84
RGBrgb(48, 90, 132)
HSLhsl(210, 47%, 35%)
HSVhsv(210, 64%, 52%)
CMYKcmyk(63.6%, 31.8%, 0%, 48.2%)
CIE-LABlab(37.13, -0.77, -27.87)
CIE-LCHlch(37.13, 27.88, 268.42°)
OKLaboklab(45.71% -0.0284 -0.0786)
OKLCHoklch(45.71% 0.084 250.1)
XYZxyz(9.0384, 9.6058, 23.2031)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305A84 #845A30
analogous
#308484 #305A84 #303084
triadic
#305A84 #84305A #5A8430
tetradic
#305A84 #843084 #845A30 #308430
square
#305A84 #843084 #845A30 #308430
split-complementary
#305A84 #843030 #848430
monochromatic
#0F1D2A #203B57 #305A84 #4079B1 #6797C8

Accessibility & contrast

On white

7.19
#305A84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#305A84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305A84
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305A84#FFFFFF#000000##FFFFFF
##305A841.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485C86
Deuteranopia (green-blind)
#3D5483
Tritanopia (blue-blind)
#006469
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #305a84;
/* rgb */ color: rgb(48, 90, 132);
/* oklch */ color: oklch(45.7% 0.084 250.1);
Tailwind
colors: {
  custom: {
    50: '#7188a8',
    500: '#305a84',
    950: '#000000',
  },
}
SCSS
$custom: #305a84;
$custom-light: #7188a8;
$custom-dark: #000000;
JSON
{
  "hex": "#305a84",
  "rgb": {
    "r": 48,
    "g": 90,
    "b": 132
  },
  "hsl": {
    "h": 210,
    "s": 46.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45712,
    "c": 0.08362,
    "h": 250.1
  },
  "luminance": 0.09607
}

Semantic roles & 50–950 ramp

primary
#305A84
secondary
#AF8861
accent
#9451D6
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B0F
muted
#7B7C7F

Preview Lab

Preview with #305A84

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

Preview Lab → · Contrast checker → · Palette generator →

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