#305985#305985

#305985 is a mid, moderate cyan. Relative luminance 0.095; OKLCH L 45.5% C 0.086 H 251.7°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#305985
RGBrgb(48, 89, 133)
HSLhsl(211, 47%, 35%)
HSVhsv(211, 64%, 52%)
CMYKcmyk(63.9%, 33.1%, 0%, 47.8%)
CIE-LABlab(36.87, 0.22, -28.88)
CIE-LCHlch(36.87, 28.88, 270.44°)
OKLaboklab(45.53% -0.027 -0.0816)
OKLCHoklch(45.53% 0.086 251.7)
XYZxyz(9.0234, 9.4657, 23.5373)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305985 #855C30
analogous
#308385 #305985 #323085
triadic
#305985 #853059 #598530
tetradic
#305985 #853083 #855C30 #308532
square
#305985 #853083 #855C30 #308532
split-complementary
#305985 #853230 #838530
monochromatic
#101D2B #203B58 #305985 #4077B2 #6796C8

Accessibility & contrast

On white

7.26
#305985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#305985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305985
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305985#FFFFFF#000000##FFFFFF
##3059851.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465B87
Deuteranopia (green-blind)
#3B5384
Tritanopia (blue-blind)
#006369
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #305985;
/* rgb */ color: rgb(48, 89, 133);
/* oklch */ color: oklch(45.5% 0.086 251.7);
Tailwind
colors: {
  custom: {
    50: '#7187a8',
    500: '#305985',
    950: '#000000',
  },
}
SCSS
$custom: #305985;
$custom-light: #7187a8;
$custom-dark: #000000;
JSON
{
  "hex": "#305985",
  "rgb": {
    "r": 48,
    "g": 89,
    "b": 133
  },
  "hsl": {
    "h": 211.059,
    "s": 46.961,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45525,
    "c": 0.08595,
    "h": 251.7
  },
  "luminance": 0.09467
}

Semantic roles & 50–950 ramp

primary
#305985
secondary
#AF8A61
accent
#9651D7
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B0F
muted
#7B7C7F

Preview Lab

Preview with #305985

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

Preview Lab → · Contrast checker → · Palette generator →

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