#305A8D#305A8D

#305A8D is a mid, moderate cyan. Relative luminance 0.099; OKLCH L 46.2% C 0.096 H 254.4°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#305A8D
RGBrgb(48, 90, 141)
HSLhsl(213, 49%, 37%)
HSVhsv(213, 66%, 55%)
CMYKcmyk(66%, 36.2%, 0%, 44.7%)
CIE-LABlab(37.60, 2.49, -32.60)
CIE-LCHlch(37.60, 32.70, 274.37°)
OKLaboklab(46.23% -0.0258 -0.0924)
OKLCHoklch(46.23% 0.096 254.4)
XYZxyz(9.6811, 9.8629, 26.5877)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305A8D #8D6330
analogous
#30898D #305A8D #35308D
triadic
#305A8D #8D305A #5A8D30
tetradic
#305A8D #8D3089 #8D6330 #308D35
square
#305A8D #8D3089 #8D6330 #308D35
split-complementary
#305A8D #8D3530 #898D30
monochromatic
#112032 #203D5F #305A8D #4077BB #6B97CD

Accessibility & contrast

On white

7.06
#305A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#305A8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305A8D
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305A8D#FFFFFF#000000##FFFFFF
##305A8D1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445D8F
Deuteranopia (green-blind)
#37548C
Tritanopia (blue-blind)
#00666D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #305a8d;
/* rgb */ color: rgb(48, 90, 141);
/* oklch */ color: oklch(46.2% 0.096 254.4);
Tailwind
colors: {
  custom: {
    50: '#7288ae',
    500: '#305a8d',
    950: '#000000',
  },
}
SCSS
$custom: #305a8d;
$custom-light: #7288ae;
$custom-dark: #000000;
JSON
{
  "hex": "#305a8d",
  "rgb": {
    "r": 48,
    "g": 90,
    "b": 141
  },
  "hsl": {
    "h": 212.903,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46234,
    "c": 0.09596,
    "h": 254.4
  },
  "luminance": 0.09864
}

Semantic roles & 50–950 ramp

primary
#305A8D
secondary
#B49065
accent
#9B4FD9
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #305A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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