#305481#305481

#305481 is a dark, moderate cyan. Relative luminance 0.086; OKLCH L 44.1% C 0.086 H 254.8°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#305481
RGBrgb(48, 84, 129)
HSLhsl(213, 46%, 35%)
HSVhsv(213, 63%, 51%)
CMYKcmyk(62.8%, 34.9%, 0%, 49.4%)
CIE-LABlab(35.11, 1.98, -29.20)
CIE-LCHlch(35.11, 29.26, 273.87°)
OKLaboklab(44.08% -0.0224 -0.0826)
OKLCHoklch(44.08% 0.086 254.8)
XYZxyz(8.3503, 8.5532, 21.9755)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305481 #815D30
analogous
#307D81 #305481 #343081
triadic
#305481 #813054 #548130
tetradic
#305481 #81307D #815D30 #308134
square
#305481 #81307D #815D30 #308134
split-complementary
#305481 #813430 #7D8130
monochromatic
#0F1A28 #1F3754 #305481 #4171AE #6690C6

Accessibility & contrast

On white

7.75
#305481 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#305481 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305481
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305481#FFFFFF#000000##FFFFFF
##3054811.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415783
Deuteranopia (green-blind)
#364F80
Tritanopia (blue-blind)
#005E64
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #305481;
/* rgb */ color: rgb(48, 84, 129);
/* oklch */ color: oklch(44.1% 0.086 254.8);
Tailwind
colors: {
  custom: {
    50: '#7083a6',
    500: '#305481',
    950: '#000000',
  },
}
SCSS
$custom: #305481;
$custom-light: #7083a6;
$custom-dark: #000000;
JSON
{
  "hex": "#305481",
  "rgb": {
    "r": 48,
    "g": 84,
    "b": 129
  },
  "hsl": {
    "h": 213.333,
    "s": 45.763,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44082,
    "c": 0.08555,
    "h": 254.8
  },
  "luminance": 0.08554
}

Semantic roles & 50–950 ramp

primary
#305481
secondary
#AD8B60
accent
#9B52D5
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #305481

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

Preview Lab → · Contrast checker → · Palette generator →

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