#305D8A#305D8A

#305D8A is a mid, moderate cyan. Relative luminance 0.103; OKLCH L 46.8% C 0.089 H 250.3°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#305D8A
RGBrgb(48, 93, 138)
HSLhsl(210, 48%, 36%)
HSVhsv(210, 65%, 54%)
CMYKcmyk(65.2%, 32.6%, 0%, 45.9%)
CIE-LABlab(38.36, -0.50, -29.58)
CIE-LCHlch(38.36, 29.58, 269.03°)
OKLaboklab(46.78% -0.03 -0.0836)
OKLCHoklch(46.78% 0.089 250.3)
XYZxyz(9.7190, 10.2911, 25.5140)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305D8A #8A5D30
analogous
#308A8A #305D8A #30308A
triadic
#305D8A #8A305D #5D8A30
tetradic
#305D8A #8A308A #8A5D30 #308A30
square
#305D8A #8A308A #8A5D30 #308A30
split-complementary
#305D8A #8A3030 #8A8A30
monochromatic
#10202F #203E5D #305D8A #407CB7 #699ACB

Accessibility & contrast

On white

6.87
#305D8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#305D8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305D8A
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305D8A#FFFFFF#000000##FFFFFF
##305D8A1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5F8C
Deuteranopia (green-blind)
#3D5689
Tritanopia (blue-blind)
#00686D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #305d8a;
/* rgb */ color: rgb(48, 93, 138);
/* oklch */ color: oklch(46.8% 0.089 250.3);
Tailwind
colors: {
  custom: {
    50: '#728aac',
    500: '#305d8a',
    950: '#000000',
  },
}
SCSS
$custom: #305d8a;
$custom-light: #728aac;
$custom-dark: #000000;
JSON
{
  "hex": "#305d8a",
  "rgb": {
    "r": 48,
    "g": 93,
    "b": 138
  },
  "hsl": {
    "h": 210,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46782,
    "c": 0.08881,
    "h": 250.3
  },
  "luminance": 0.10292
}

Semantic roles & 50–950 ramp

primary
#305D8A
secondary
#B28B64
accent
#9450D8
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #305D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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