#305F87#305F87

#305F87 is a mid, moderate cyan. Relative luminance 0.106; OKLCH L 47.1% C 0.083 H 246.4°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#305F87
RGBrgb(48, 95, 135)
HSLhsl(208, 48%, 36%)
HSVhsv(208, 64%, 53%)
CMYKcmyk(64.4%, 29.6%, 0%, 47.1%)
CIE-LABlab(38.83, -2.82, -27.02)
CIE-LCHlch(38.83, 27.17, 264.04°)
OKLaboklab(47.1% -0.0332 -0.0761)
OKLCHoklch(47.1% 0.083 246.4)
XYZxyz(9.6827, 10.5611, 24.4452)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305F87 #875830
analogous
#308783 #305F87 #303387
triadic
#305F87 #87305F #5F8730
tetradic
#305F87 #833087 #875830 #338730
square
#305F87 #833087 #875830 #338730
split-complementary
#305F87 #873033 #878330
monochromatic
#101F2D #203F5A #305F87 #407FB4 #689DC9

Accessibility & contrast

On white

6.75
#305F87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#305F87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305F87
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305F87#FFFFFF#000000##FFFFFF
##305F871.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6089
Deuteranopia (green-blind)
#425886
Tritanopia (blue-blind)
#00696D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #305f87;
/* rgb */ color: rgb(48, 95, 135);
/* oklch */ color: oklch(47.1% 0.083 246.4);
Tailwind
colors: {
  custom: {
    50: '#718caa',
    500: '#305f87',
    950: '#000000',
  },
}
SCSS
$custom: #305f87;
$custom-light: #718caa;
$custom-dark: #000000;
JSON
{
  "hex": "#305f87",
  "rgb": {
    "r": 48,
    "g": 95,
    "b": 135
  },
  "hsl": {
    "h": 207.586,
    "s": 47.541,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47103,
    "c": 0.08307,
    "h": 246.4
  },
  "luminance": 0.10562
}

Semantic roles & 50–950 ramp

primary
#305F87
secondary
#B18662
accent
#8E51D7
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #305F87

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

Preview Lab → · Contrast checker → · Palette generator →

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