#305B79#305B79

#305B79 is a mid, moderate cyan. Relative luminance 0.095; OKLCH L 45.4% C 0.069 H 241.0°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#305B79
RGBrgb(48, 91, 121)
HSLhsl(205, 43%, 33%)
HSVhsv(205, 60%, 47%)
CMYKcmyk(60.3%, 24.8%, 0%, 52.5%)
CIE-LABlab(36.91, -5.26, -21.46)
CIE-LCHlch(36.91, 22.09, 256.21°)
OKLaboklab(45.37% -0.0334 -0.0601)
OKLCHoklch(45.37% 0.069 241)
XYZxyz(8.4099, 9.4903, 19.4741)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305B79 #794E30
analogous
#307972 #305B79 #303679
triadic
#305B79 #79305B #5B7930
tetradic
#305B79 #723079 #794E30 #367930
square
#305B79 #723079 #794E30 #367930
split-complementary
#305B79 #793036 #797230
monochromatic
#0D1921 #1F3A4D #305B79 #417CA5 #629AC1

Accessibility & contrast

On white

7.25
#305B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#305B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305B79
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305B79#FFFFFF#000000##FFFFFF
##305B791.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5B7A
Deuteranopia (green-blind)
#445478
Tritanopia (blue-blind)
#006265
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #305b79;
/* rgb */ color: rgb(48, 91, 121);
/* oklch */ color: oklch(45.4% 0.069 241.0);
Tailwind
colors: {
  custom: {
    50: '#6f899f',
    500: '#305b79',
    950: '#000000',
  },
}
SCSS
$custom: #305b79;
$custom-light: #6f899f;
$custom-dark: #000000;
JSON
{
  "hex": "#305b79",
  "rgb": {
    "r": 48,
    "g": 91,
    "b": 121
  },
  "hsl": {
    "h": 204.658,
    "s": 43.195,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4537,
    "c": 0.06874,
    "h": 241
  },
  "luminance": 0.09491
}

Semantic roles & 50–950 ramp

primary
#305B79
secondary
#A87C5D
accent
#8955D3
background
#F6F8F9
surface
#ECF0F2
border
#C7CBCC
text
#080B0E
muted
#7B7C7E

Preview Lab

Preview with #305B79

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

Preview Lab → · Contrast checker → · Palette generator →

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