#305D7E#305D7E

#305D7E is a mid, moderate cyan. Relative luminance 0.100; OKLCH L 46.1% C 0.073 H 242.4°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#305D7E
RGBrgb(48, 93, 126)
HSLhsl(205, 45%, 34%)
HSVhsv(205, 62%, 49%)
CMYKcmyk(61.9%, 26.2%, 0%, 50.6%)
CIE-LABlab(37.78, -4.76, -23.18)
CIE-LCHlch(37.78, 23.67, 258.40°)
OKLaboklab(46.13% -0.034 -0.0651)
OKLCHoklch(46.13% 0.073 242.4)
XYZxyz(8.8978, 9.9626, 21.1887)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305D7E #7E5130
analogous
#307E78 #305D7E #30367E
triadic
#305D7E #7E305D #5D7E30
tetradic
#305D7E #78307E #7E5130 #367E30
square
#305D7E #78307E #7E5130 #367E30
split-complementary
#305D7E #7E3036 #7E7830
monochromatic
#0E1C25 #1F3C52 #305D7E #417EAA #649CC4

Accessibility & contrast

On white

7.02
#305D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#305D7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305D7E
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305D7E#FFFFFF#000000##FFFFFF
##305D7E1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5D80
Deuteranopia (green-blind)
#44557D
Tritanopia (blue-blind)
#006568
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #305d7e;
/* rgb */ color: rgb(48, 93, 126);
/* oklch */ color: oklch(46.1% 0.073 242.4);
Tailwind
colors: {
  custom: {
    50: '#708aa3',
    500: '#305d7e',
    950: '#000000',
  },
}
SCSS
$custom: #305d7e;
$custom-light: #708aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#305d7e",
  "rgb": {
    "r": 48,
    "g": 93,
    "b": 126
  },
  "hsl": {
    "h": 205.385,
    "s": 44.828,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46129,
    "c": 0.07339,
    "h": 242.4
  },
  "luminance": 0.09963
}

Semantic roles & 50–950 ramp

primary
#305D7E
secondary
#AB7F5F
accent
#8A53D5
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080B0F
muted
#7B7C7F

Preview Lab

Preview with #305D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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