#305F79#305F79

#305F79 is a mid, moderate cyan. Relative luminance 0.102; OKLCH L 46.4% C 0.067 H 234.9°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#305F79
RGBrgb(48, 95, 121)
HSLhsl(201, 43%, 33%)
HSVhsv(201, 60%, 47%)
CMYKcmyk(60.3%, 21.5%, 0%, 52.5%)
CIE-LABlab(38.19, -7.70, -19.49)
CIE-LCHlch(38.19, 20.95, 248.44°)
OKLaboklab(46.38% -0.0382 -0.0544)
OKLCHoklch(46.38% 0.067 234.9)
XYZxyz(8.7610, 10.1925, 19.5911)
Luminance0.1019 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305F79 #794A30
analogous
#30796E #305F79 #303A79
triadic
#305F79 #79305F #5F7930
tetradic
#305F79 #6E3079 #794A30 #3A7930
square
#305F79 #6E3079 #794A30 #3A7930
split-complementary
#305F79 #79303A #796E30
monochromatic
#0D1A21 #1F3D4D #305F79 #4181A5 #629FC1

Accessibility & contrast

On white

6.91
#305F79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#305F79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305F79
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305F79#FFFFFF#000000##FFFFFF
##305F791.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535E7A
Deuteranopia (green-blind)
#495779
Tritanopia (blue-blind)
#006668
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #305f79;
/* rgb */ color: rgb(48, 95, 121);
/* oklch */ color: oklch(46.4% 0.067 234.9);
Tailwind
colors: {
  custom: {
    50: '#6f8c9f',
    500: '#305f79',
    950: '#000000',
  },
}
SCSS
$custom: #305f79;
$custom-light: #6f8c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#305f79",
  "rgb": {
    "r": 48,
    "g": 95,
    "b": 121
  },
  "hsl": {
    "h": 201.37,
    "s": 43.195,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4638,
    "c": 0.06651,
    "h": 234.9
  },
  "luminance": 0.10193
}

Semantic roles & 50–950 ramp

primary
#305F79
secondary
#A8785D
accent
#8255D3
background
#F7F8F9
surface
#EDF0F2
border
#C8CBCC
text
#080C0E
muted
#7B7D7E

Preview Lab

Preview with #305F79

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

Preview Lab → · Contrast checker → · Palette generator →

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