#305281#305281

#305281 is a dark, moderate cyan. Relative luminance 0.082; OKLCH L 43.6% C 0.088 H 256.8°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#305281
RGBrgb(48, 82, 129)
HSLhsl(215, 46%, 35%)
HSVhsv(215, 63%, 51%)
CMYKcmyk(62.8%, 36.4%, 0%, 49.4%)
CIE-LABlab(34.49, 3.27, -30.17)
CIE-LCHlch(34.49, 30.35, 276.18°)
OKLaboklab(43.6% -0.02 -0.0854)
OKLCHoklch(43.6% 0.088 256.8)
XYZxyz(8.1973, 8.2472, 21.9245)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305281 #815F30
analogous
#307B81 #305281 #373081
triadic
#305281 #813052 #528130
tetradic
#305281 #81307B #815F30 #308137
square
#305281 #81307B #815F30 #308137
split-complementary
#305281 #813730 #7B8130
monochromatic
#0F1928 #1F3654 #305281 #416EAE #668EC6

Accessibility & contrast

On white

7.93
#305281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#305281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305281
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305281#FFFFFF#000000##FFFFFF
##3052811.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5583
Deuteranopia (green-blind)
#334E80
Tritanopia (blue-blind)
#005D63
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #305281;
/* rgb */ color: rgb(48, 82, 129);
/* oklch */ color: oklch(43.6% 0.088 256.8);
Tailwind
colors: {
  custom: {
    50: '#7082a6',
    500: '#305281',
    950: '#000000',
  },
}
SCSS
$custom: #305281;
$custom-light: #7082a6;
$custom-dark: #000000;
JSON
{
  "hex": "#305281",
  "rgb": {
    "r": 48,
    "g": 82,
    "b": 129
  },
  "hsl": {
    "h": 214.815,
    "s": 45.763,
    "l": 34.706
  },
  "oklch": {
    "l": 0.436,
    "c": 0.08775,
    "h": 256.8
  },
  "luminance": 0.08248
}

Semantic roles & 50–950 ramp

primary
#305281
secondary
#AD8D60
accent
#9E52D5
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #305281

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

Preview Lab → · Contrast checker → · Palette generator →

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