#305E8B#305E8B

#305E8B is a mid, moderate cyan. Relative luminance 0.105; OKLCH L 47.1% C 0.089 H 249.8°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#305E8B
RGBrgb(48, 94, 139)
HSLhsl(210, 49%, 37%)
HSVhsv(210, 65%, 55%)
CMYKcmyk(65.5%, 32.4%, 0%, 45.5%)
CIE-LABlab(38.72, -0.77, -29.62)
CIE-LCHlch(38.72, 29.63, 268.52°)
OKLaboklab(47.08% -0.0308 -0.0837)
OKLCHoklch(47.08% 0.089 249.8)
XYZxyz(9.8801, 10.4969, 25.9265)
Luminance0.1050 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305E8B #8B5D30
analogous
#308B8B #305E8B #30318B
triadic
#305E8B #8B305E #5E8B30
tetradic
#305E8B #8B308B #8B5D30 #318B30
square
#305E8B #8B308B #8B5D30 #318B30
split-complementary
#305E8B #8B3031 #8B8B30
monochromatic
#112030 #203F5E #305E8B #407DB8 #6A9BCC

Accessibility & contrast

On white

6.78
#305E8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#305E8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305E8B
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305E8B#FFFFFF#000000##FFFFFF
##305E8B1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B608D
Deuteranopia (green-blind)
#3E578A
Tritanopia (blue-blind)
#00696E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #305e8b;
/* rgb */ color: rgb(48, 94, 139);
/* oklch */ color: oklch(47.1% 0.089 249.8);
Tailwind
colors: {
  custom: {
    50: '#728bad',
    500: '#305e8b',
    950: '#000000',
  },
}
SCSS
$custom: #305e8b;
$custom-light: #728bad;
$custom-dark: #000000;
JSON
{
  "hex": "#305e8b",
  "rgb": {
    "r": 48,
    "g": 94,
    "b": 139
  },
  "hsl": {
    "h": 209.67,
    "s": 48.663,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47081,
    "c": 0.08919,
    "h": 249.8
  },
  "luminance": 0.10498
}

Semantic roles & 50–950 ramp

primary
#305E8B
secondary
#B38B64
accent
#9350D8
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #305E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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