#305B8A#305B8A

#305B8A is a mid, moderate cyan. Relative luminance 0.099; OKLCH L 46.3% C 0.091 H 252.2°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#305B8A
RGBrgb(48, 91, 138)
HSLhsl(211, 48%, 36%)
HSVhsv(211, 65%, 54%)
CMYKcmyk(65.2%, 34.1%, 0%, 45.9%)
CIE-LABlab(37.74, 0.76, -30.55)
CIE-LCHlch(37.74, 30.56, 271.43°)
OKLaboklab(46.3% -0.0277 -0.0864)
OKLCHoklch(46.3% 0.091 252.2)
XYZxyz(9.5458, 9.9446, 25.4563)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305B8A #8A5F30
analogous
#30888A #305B8A #32308A
triadic
#305B8A #8A305B #5B8A30
tetradic
#305B8A #8A3088 #8A5F30 #308A32
square
#305B8A #8A3088 #8A5F30 #308A32
split-complementary
#305B8A #8A3230 #888A30
monochromatic
#101F2F #203D5D #305B8A #4079B7 #6998CB

Accessibility & contrast

On white

7.03
#305B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#305B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305B8A
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305B8A#FFFFFF#000000##FFFFFF
##305B8A1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475E8C
Deuteranopia (green-blind)
#3A5589
Tritanopia (blue-blind)
#00666C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #305b8a;
/* rgb */ color: rgb(48, 91, 138);
/* oklch */ color: oklch(46.3% 0.091 252.2);
Tailwind
colors: {
  custom: {
    50: '#7289ac',
    500: '#305b8a',
    950: '#000000',
  },
}
SCSS
$custom: #305b8a;
$custom-light: #7289ac;
$custom-dark: #000000;
JSON
{
  "hex": "#305b8a",
  "rgb": {
    "r": 48,
    "g": 91,
    "b": 138
  },
  "hsl": {
    "h": 211.333,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46298,
    "c": 0.09078,
    "h": 252.2
  },
  "luminance": 0.09946
}

Semantic roles & 50–950 ramp

primary
#305B8A
secondary
#B28D64
accent
#9750D8
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #305B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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