#305989#305989

#305989 is a mid, moderate cyan. Relative luminance 0.096; OKLCH L 45.8% C 0.091 H 253.6°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#305989
RGBrgb(48, 89, 137)
HSLhsl(212, 48%, 36%)
HSVhsv(212, 65%, 54%)
CMYKcmyk(65%, 35%, 0%, 46.3%)
CIE-LABlab(37.07, 1.67, -30.99)
CIE-LCHlch(37.07, 31.04, 273.09°)
OKLaboklab(45.76% -0.0258 -0.0878)
OKLCHoklch(45.76% 0.091 253.6)
XYZxyz(9.3050, 9.5784, 25.0205)
Luminance0.0958 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305989 #896030
analogous
#308689 #305989 #343089
triadic
#305989 #893059 #598930
tetradic
#305989 #893086 #896030 #308934
square
#305989 #893086 #896030 #308934
split-complementary
#305989 #893430 #868930
monochromatic
#101E2E #203C5C #305989 #4076B6 #6996CA

Accessibility & contrast

On white

7.20
#305989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#305989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305989
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305989#FFFFFF#000000##FFFFFF
##3059891.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445C8B
Deuteranopia (green-blind)
#385388
Tritanopia (blue-blind)
#00646A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #305989;
/* rgb */ color: rgb(48, 89, 137);
/* oklch */ color: oklch(45.8% 0.091 253.6);
Tailwind
colors: {
  custom: {
    50: '#7187ab',
    500: '#305989',
    950: '#000000',
  },
}
SCSS
$custom: #305989;
$custom-light: #7187ab;
$custom-dark: #000000;
JSON
{
  "hex": "#305989",
  "rgb": {
    "r": 48,
    "g": 89,
    "b": 137
  },
  "hsl": {
    "h": 212.36,
    "s": 48.108,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45758,
    "c": 0.09147,
    "h": 253.6
  },
  "luminance": 0.09579
}

Semantic roles & 50–950 ramp

primary
#305989
secondary
#B28D63
accent
#9950D8
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #305989

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

Preview Lab → · Contrast checker → · Palette generator →

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