#306278#306278

#306278 is a mid, moderate cyan. Relative luminance 0.107; OKLCH L 47.1% C 0.064 H 229.0°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#306278
RGBrgb(48, 98, 120)
HSLhsl(198, 43%, 33%)
HSVhsv(198, 60%, 47%)
CMYKcmyk(60%, 18.3%, 0%, 52.9%)
CIE-LABlab(39.10, -9.82, -17.46)
CIE-LCHlch(39.10, 20.04, 240.64°)
OKLaboklab(47.1% -0.0423 -0.0486)
OKLCHoklch(47.1% 0.064 229)
XYZxyz(8.9755, 10.7190, 19.3616)
Luminance0.1072 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306278 #784630
analogous
#30786A #306278 #303E78
triadic
#306278 #783062 #627830
tetradic
#306278 #6A3078 #784630 #3E7830
square
#306278 #6A3078 #784630 #3E7830
split-complementary
#306278 #78303E #786A30
monochromatic
#0D1B21 #1F3E4C #306278 #4186A4 #62A4C0

Accessibility & contrast

On white

6.68
#306278 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#306278 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306278
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306278#FFFFFF#000000##FFFFFF
##3062781.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#576079
Deuteranopia (green-blind)
#4C5978
Tritanopia (blue-blind)
#006869
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #306278;
/* rgb */ color: rgb(48, 98, 120);
/* oklch */ color: oklch(47.1% 0.064 229.0);
Tailwind
colors: {
  custom: {
    50: '#6f8e9f',
    500: '#306278',
    950: '#000000',
  },
}
SCSS
$custom: #306278;
$custom-light: #6f8e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#306278",
  "rgb": {
    "r": 48,
    "g": 98,
    "b": 120
  },
  "hsl": {
    "h": 198.333,
    "s": 42.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.47095,
    "c": 0.06445,
    "h": 229
  },
  "luminance": 0.1072
}

Semantic roles & 50–950 ramp

primary
#306278
secondary
#A7735C
accent
#7C55D3
background
#F7F8F9
surface
#EDF0F2
border
#C8CBCC
text
#080C0E
muted
#7B7D7E

Preview Lab

Preview with #306278

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

Preview Lab → · Contrast checker → · Palette generator →

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