#305F89#305F89

#305F89 is a mid, moderate cyan. Relative luminance 0.106; OKLCH L 47.2% C 0.086 H 247.7°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#305F89
RGBrgb(48, 95, 137)
HSLhsl(208, 48%, 36%)
HSVhsv(208, 65%, 54%)
CMYKcmyk(65%, 30.7%, 0%, 46.3%)
CIE-LABlab(38.93, -2.11, -28.08)
CIE-LCHlch(38.93, 28.16, 265.70°)
OKLaboklab(47.21% -0.0326 -0.0792)
OKLCHoklch(47.21% 0.086 247.7)
XYZxyz(9.8248, 10.6180, 25.1938)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305F89 #895A30
analogous
#308987 #305F89 #303389
triadic
#305F89 #89305F #5F8930
tetradic
#305F89 #873089 #895A30 #338930
square
#305F89 #873089 #895A30 #338930
split-complementary
#305F89 #893033 #898730
monochromatic
#10202E #20405C #305F89 #407EB6 #699CCA

Accessibility & contrast

On white

6.72
#305F89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#305F89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305F89
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305F89#FFFFFF#000000##FFFFFF
##305F891.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #305f89;
/* rgb */ color: rgb(48, 95, 137);
/* oklch */ color: oklch(47.2% 0.086 247.7);
Tailwind
colors: {
  custom: {
    50: '#728cab',
    500: '#305f89',
    950: '#000000',
  },
}
SCSS
$custom: #305f89;
$custom-light: #728cab;
$custom-dark: #000000;
JSON
{
  "hex": "#305f89",
  "rgb": {
    "r": 48,
    "g": 95,
    "b": 137
  },
  "hsl": {
    "h": 208.315,
    "s": 48.108,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47213,
    "c": 0.08564,
    "h": 247.7
  },
  "luminance": 0.10619
}

Semantic roles & 50–950 ramp

primary
#305F89
secondary
#B28863
accent
#9050D8
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #305F89

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

Preview Lab → · Contrast checker → · Palette generator →

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