#305F8A#305F8A

#305F8A is a mid, moderate cyan. Relative luminance 0.106; OKLCH L 47.3% C 0.087 H 248.2°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#305F8A
RGBrgb(48, 95, 138)
HSLhsl(209, 48%, 36%)
HSVhsv(209, 65%, 54%)
CMYKcmyk(65.2%, 31.2%, 0%, 45.9%)
CIE-LABlab(38.98, -1.75, -28.61)
CIE-LCHlch(38.98, 28.66, 266.50°)
OKLaboklab(47.27% -0.0322 -0.0807)
OKLCHoklch(47.27% 0.087 248.2)
XYZxyz(9.8969, 10.6468, 25.5733)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305F8A #8A5B30
analogous
#308A88 #305F8A #30328A
triadic
#305F8A #8A305F #5F8A30
tetradic
#305F8A #88308A #8A5B30 #328A30
square
#305F8A #88308A #8A5B30 #328A30
split-complementary
#305F8A #8A3032 #8A8830
monochromatic
#10202F #20405D #305F8A #407EB7 #699CCB

Accessibility & contrast

On white

6.71
#305F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#305F8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305F8A
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305F8A#FFFFFF#000000##FFFFFF
##305F8A1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C618C
Deuteranopia (green-blind)
#405889
Tritanopia (blue-blind)
#00696E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #305f8a;
/* rgb */ color: rgb(48, 95, 138);
/* oklch */ color: oklch(47.3% 0.087 248.2);
Tailwind
colors: {
  custom: {
    50: '#728cac',
    500: '#305f8a',
    950: '#000000',
  },
}
SCSS
$custom: #305f8a;
$custom-light: #728cac;
$custom-dark: #000000;
JSON
{
  "hex": "#305f8a",
  "rgb": {
    "r": 48,
    "g": 95,
    "b": 138
  },
  "hsl": {
    "h": 208.667,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47269,
    "c": 0.08694,
    "h": 248.2
  },
  "luminance": 0.10648
}

Semantic roles & 50–950 ramp

primary
#305F8A
secondary
#B28964
accent
#9150D8
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #305F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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