#305A8A#305A8A

#305A8A is a mid, moderate cyan. Relative luminance 0.098; OKLCH L 46.1% C 0.092 H 253.1°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#305A8A
RGBrgb(48, 90, 138)
HSLhsl(212, 48%, 36%)
HSVhsv(212, 65%, 54%)
CMYKcmyk(65.2%, 34.8%, 0%, 45.9%)
CIE-LABlab(37.44, 1.40, -31.03)
CIE-LCHlch(37.44, 31.07, 272.58°)
OKLaboklab(46.06% -0.0266 -0.0879)
OKLCHoklch(46.06% 0.092 253.1)
XYZxyz(9.4609, 9.7748, 25.4280)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305A8A #8A6030
analogous
#30878A #305A8A #33308A
triadic
#305A8A #8A305A #5A8A30
tetradic
#305A8A #8A3087 #8A6030 #308A33
square
#305A8A #8A3087 #8A6030 #308A33
split-complementary
#305A8A #8A3330 #878A30
monochromatic
#101F2F #203C5D #305A8A #4078B7 #6997CB

Accessibility & contrast

On white

7.11
#305A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#305A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305A8A
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305A8A#FFFFFF#000000##FFFFFF
##305A8A1.007.112.967.11
#FFFFFF7.111.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455D8C
Deuteranopia (green-blind)
#395489
Tritanopia (blue-blind)
#00656B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #305a8a;
/* rgb */ color: rgb(48, 90, 138);
/* oklch */ color: oklch(46.1% 0.092 253.1);
Tailwind
colors: {
  custom: {
    50: '#7288ac',
    500: '#305a8a',
    950: '#000000',
  },
}
SCSS
$custom: #305a8a;
$custom-light: #7288ac;
$custom-dark: #000000;
JSON
{
  "hex": "#305a8a",
  "rgb": {
    "r": 48,
    "g": 90,
    "b": 138
  },
  "hsl": {
    "h": 212,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46057,
    "c": 0.0918,
    "h": 253.1
  },
  "luminance": 0.09776
}

Semantic roles & 50–950 ramp

primary
#305A8A
secondary
#B28E64
accent
#9850D8
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #305A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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