#305378#305378

#305378 is a dark, moderate cyan. Relative luminance 0.082; OKLCH L 43.3% C 0.074 H 251.1°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#305378
RGBrgb(48, 83, 120)
HSLhsl(211, 43%, 33%)
HSVhsv(211, 60%, 47%)
CMYKcmyk(60%, 30.8%, 0%, 52.9%)
CIE-LABlab(34.34, -0.60, -24.85)
CIE-LCHlch(34.34, 24.86, 268.61°)
OKLaboklab(43.32% -0.0239 -0.07)
OKLCHoklch(43.32% 0.074 251.1)
XYZxyz(7.7011, 8.1703, 18.9368)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305378 #785530
analogous
#307778 #305378 #313078
triadic
#305378 #783053 #537830
tetradic
#305378 #783077 #785530 #307831
square
#305378 #783077 #785530 #307831
split-complementary
#305378 #783130 #777830
monochromatic
#0D1721 #1F354C #305378 #4171A4 #6290C0

Accessibility & contrast

On white

7.97
#305378 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#305378 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305378
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305378#FFFFFF#000000##FFFFFF
##3053781.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44557A
Deuteranopia (green-blind)
#3A4E77
Tritanopia (blue-blind)
#005C60
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #305378;
/* rgb */ color: rgb(48, 83, 120);
/* oklch */ color: oklch(43.3% 0.074 251.1);
Tailwind
colors: {
  custom: {
    50: '#6f839f',
    500: '#305378',
    950: '#000000',
  },
}
SCSS
$custom: #305378;
$custom-light: #6f839f;
$custom-dark: #000000;
JSON
{
  "hex": "#305378",
  "rgb": {
    "r": 48,
    "g": 83,
    "b": 120
  },
  "hsl": {
    "h": 210.833,
    "s": 42.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43323,
    "c": 0.07394,
    "h": 251.1
  },
  "luminance": 0.08171
}

Semantic roles & 50–950 ramp

primary
#305378
secondary
#A7835C
accent
#9655D3
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#080A0E
muted
#7B7C7E

Preview Lab

Preview with #305378

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

Preview Lab → · Contrast checker → · Palette generator →

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