#305A79#305A79

#305A79 is a mid, moderate cyan. Relative luminance 0.093; OKLCH L 45.1% C 0.069 H 242.4°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#305A79
RGBrgb(48, 90, 121)
HSLhsl(205, 43%, 33%)
HSVhsv(205, 60%, 47%)
CMYKcmyk(60.3%, 25.6%, 0%, 52.5%)
CIE-LABlab(36.59, -4.65, -21.95)
CIE-LCHlch(36.59, 22.44, 258.04°)
OKLaboklab(45.12% -0.0321 -0.0615)
OKLCHoklch(45.12% 0.069 242.4)
XYZxyz(8.3250, 9.3204, 19.4458)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305A79 #794F30
analogous
#307973 #305A79 #303679
triadic
#305A79 #79305A #5A7930
tetradic
#305A79 #733079 #794F30 #367930
square
#305A79 #733079 #794F30 #367930
split-complementary
#305A79 #793036 #797330
monochromatic
#0D1921 #1F394D #305A79 #417BA5 #6299C1

Accessibility & contrast

On white

7.33
#305A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#305A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305A79
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305A79#FFFFFF#000000##FFFFFF
##305A791.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5A7A
Deuteranopia (green-blind)
#425378
Tritanopia (blue-blind)
#006265
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #305a79;
/* rgb */ color: rgb(48, 90, 121);
/* oklch */ color: oklch(45.1% 0.069 242.4);
Tailwind
colors: {
  custom: {
    50: '#6f88a0',
    500: '#305a79',
    950: '#000000',
  },
}
SCSS
$custom: #305a79;
$custom-light: #6f88a0;
$custom-dark: #000000;
JSON
{
  "hex": "#305a79",
  "rgb": {
    "r": 48,
    "g": 90,
    "b": 121
  },
  "hsl": {
    "h": 205.479,
    "s": 43.195,
    "l": 33.137
  },
  "oklch": {
    "l": 0.45119,
    "c": 0.06942,
    "h": 242.4
  },
  "luminance": 0.09321
}

Semantic roles & 50–950 ramp

primary
#305A79
secondary
#A87D5D
accent
#8A55D3
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#080B0E
muted
#7B7C7E

Preview Lab

Preview with #305A79

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

Preview Lab → · Contrast checker → · Palette generator →

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