#305F8F#305F8F

#305F8F is a mid, moderate cyan. Relative luminance 0.108; OKLCH L 47.6% C 0.094 H 250.8°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#305F8F
RGBrgb(48, 95, 143)
HSLhsl(210, 50%, 37%)
HSVhsv(210, 66%, 56%)
CMYKcmyk(66.4%, 33.6%, 0%, 43.9%)
CIE-LABlab(39.23, 0.05, -31.23)
CIE-LCHlch(39.23, 31.23, 270.10°)
OKLaboklab(47.55% -0.0307 -0.0884)
OKLCHoklch(47.55% 0.094 250.8)
XYZxyz(10.2672, 10.7949, 27.5238)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305F8F #8F6030
analogous
#308E8F #305F8F #31308F
triadic
#305F8F #8F305F #5F8F30
tetradic
#305F8F #8F308E #8F6030 #308F31
square
#305F8F #8F308E #8F6030 #308F31
split-complementary
#305F8F #8F3130 #8E8F30
monochromatic
#112233 #214161 #305F8F #3F7DBD #6C9CCE

Accessibility & contrast

On white

6.65
#305F8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#305F8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305F8F
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305F8F#FFFFFF#000000##FFFFFF
##305F8F1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6191
Deuteranopia (green-blind)
#3D588E
Tritanopia (blue-blind)
#006A70
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #305f8f;
/* rgb */ color: rgb(48, 95, 143);
/* oklch */ color: oklch(47.6% 0.094 250.8);
Tailwind
colors: {
  custom: {
    50: '#738cb0',
    500: '#305f8f',
    950: '#000000',
  },
}
SCSS
$custom: #305f8f;
$custom-light: #738cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#305f8f",
  "rgb": {
    "r": 48,
    "g": 95,
    "b": 143
  },
  "hsl": {
    "h": 210.316,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47551,
    "c": 0.09355,
    "h": 250.8
  },
  "luminance": 0.10796
}

Semantic roles & 50–950 ramp

primary
#305F8F
secondary
#B58E66
accent
#954FD9
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#090C10
muted
#7B7D7F

Preview Lab

Preview with #305F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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