#305E8A#305E8A

#305E8A is a mid, moderate cyan. Relative luminance 0.105; OKLCH L 47.0% C 0.088 H 249.3°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#305E8A
RGBrgb(48, 94, 138)
HSLhsl(209, 48%, 36%)
HSVhsv(209, 65%, 54%)
CMYKcmyk(65.2%, 31.9%, 0%, 45.9%)
CIE-LABlab(38.67, -1.13, -29.09)
CIE-LCHlch(38.67, 29.11, 267.78°)
OKLaboklab(47.03% -0.0311 -0.0822)
OKLCHoklch(47.03% 0.088 249.3)
XYZxyz(9.8074, 10.4678, 25.5435)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305E8A #8A5C30
analogous
#308A89 #305E8A #30318A
triadic
#305E8A #8A305E #5E8A30
tetradic
#305E8A #89308A #8A5C30 #318A30
square
#305E8A #89308A #8A5C30 #318A30
split-complementary
#305E8A #8A3031 #8A8930
monochromatic
#10202F #203F5D #305E8A #407DB7 #699BCB

Accessibility & contrast

On white

6.79
#305E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#305E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305E8A
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305E8A#FFFFFF#000000##FFFFFF
##305E8A1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B608C
Deuteranopia (green-blind)
#3F5789
Tritanopia (blue-blind)
#00686E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #305e8a;
/* rgb */ color: rgb(48, 94, 138);
/* oklch */ color: oklch(47.0% 0.088 249.3);
Tailwind
colors: {
  custom: {
    50: '#728bac',
    500: '#305e8a',
    950: '#000000',
  },
}
SCSS
$custom: #305e8a;
$custom-light: #728bac;
$custom-dark: #000000;
JSON
{
  "hex": "#305e8a",
  "rgb": {
    "r": 48,
    "g": 94,
    "b": 138
  },
  "hsl": {
    "h": 209.333,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47025,
    "c": 0.08786,
    "h": 249.3
  },
  "luminance": 0.10469
}

Semantic roles & 50–950 ramp

primary
#305E8A
secondary
#B28A64
accent
#9250D8
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #305E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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