#305E7E#305E7E

#305E7E is a mid, moderate cyan. Relative luminance 0.101; OKLCH L 46.4% C 0.073 H 241.1°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#305E7E
RGBrgb(48, 94, 126)
HSLhsl(205, 45%, 34%)
HSVhsv(205, 62%, 49%)
CMYKcmyk(61.9%, 25.4%, 0%, 50.6%)
CIE-LABlab(38.09, -5.37, -22.69)
CIE-LCHlch(38.09, 23.32, 256.68°)
OKLaboklab(46.38% -0.0352 -0.0636)
OKLCHoklch(46.38% 0.073 241.1)
XYZxyz(8.9861, 10.1393, 21.2181)
Luminance0.1014 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305E7E #7E5030
analogous
#307E77 #305E7E #30377E
triadic
#305E7E #7E305E #5E7E30
tetradic
#305E7E #77307E #7E5030 #377E30
square
#305E7E #77307E #7E5030 #377E30
split-complementary
#305E7E #7E3037 #7E7730
monochromatic
#0E1C25 #1F3D52 #305E7E #417FAA #649DC4

Accessibility & contrast

On white

6.94
#305E7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#305E7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305E7E
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305E7E#FFFFFF#000000##FFFFFF
##305E7E1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505E7F
Deuteranopia (green-blind)
#45567D
Tritanopia (blue-blind)
#006669
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #305e7e;
/* rgb */ color: rgb(48, 94, 126);
/* oklch */ color: oklch(46.4% 0.073 241.1);
Tailwind
colors: {
  custom: {
    50: '#708ba3',
    500: '#305e7e',
    950: '#000000',
  },
}
SCSS
$custom: #305e7e;
$custom-light: #708ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#305e7e",
  "rgb": {
    "r": 48,
    "g": 94,
    "b": 126
  },
  "hsl": {
    "h": 204.615,
    "s": 44.828,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46379,
    "c": 0.07271,
    "h": 241.1
  },
  "luminance": 0.1014
}

Semantic roles & 50–950 ramp

primary
#305E7E
secondary
#AB7E5F
accent
#8853D5
background
#F7F8FA
surface
#EDF0F3
border
#C8CBCD
text
#080C0F
muted
#7B7D7F

Preview Lab

Preview with #305E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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