#305874#305874

#305874 is a dark, moderate cyan. Relative luminance 0.089; OKLCH L 44.4% C 0.065 H 240.8°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#305874
RGBrgb(48, 88, 116)
HSLhsl(205, 41%, 32%)
HSVhsv(205, 59%, 45%)
CMYKcmyk(58.6%, 24.1%, 0%, 54.5%)
CIE-LABlab(35.73, -5.13, -20.20)
CIE-LCHlch(35.73, 20.85, 255.74°)
OKLaboklab(44.36% -0.0315 -0.0565)
OKLCHoklch(44.36% 0.065 240.8)
XYZxyz(7.8599, 8.8681, 17.8171)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305874 #744C30
analogous
#30746E #305874 #303674
triadic
#305874 #743058 #587430
tetradic
#305874 #6E3074 #744C30 #367430
square
#305874 #6E3074 #744C30 #367430
split-complementary
#305874 #743036 #746E30
monochromatic
#0C161D #1E3749 #305874 #42799F #6197BE

Accessibility & contrast

On white

7.57
#305874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#305874 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305874
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305874#FFFFFF#000000##FFFFFF
##3058741.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5875
Deuteranopia (green-blind)
#425174
Tritanopia (blue-blind)
#005F61
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #305874;
/* rgb */ color: rgb(48, 88, 116);
/* oklch */ color: oklch(44.4% 0.065 240.8);
Tailwind
colors: {
  custom: {
    50: '#6e879c',
    500: '#305874',
    950: '#000000',
  },
}
SCSS
$custom: #305874;
$custom-light: #6e879c;
$custom-dark: #000000;
JSON
{
  "hex": "#305874",
  "rgb": {
    "r": 48,
    "g": 88,
    "b": 116
  },
  "hsl": {
    "h": 204.706,
    "s": 41.463,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44359,
    "c": 0.06472,
    "h": 240.8
  },
  "luminance": 0.08869
}

Semantic roles & 50–950 ramp

primary
#305874
secondary
#A5795B
accent
#8957D1
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #305874

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

Preview Lab → · Contrast checker → · Palette generator →

#305874 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva