#305983#305983

#305983 is a mid, moderate cyan. Relative luminance 0.094; OKLCH L 45.4% C 0.083 H 250.6°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#305983
RGBrgb(48, 89, 131)
HSLhsl(210, 46%, 35%)
HSVhsv(210, 63%, 51%)
CMYKcmyk(63.4%, 32.1%, 0%, 48.6%)
CIE-LABlab(36.76, -0.50, -27.82)
CIE-LCHlch(36.76, 27.83, 268.98°)
OKLaboklab(45.41% -0.0276 -0.0785)
OKLCHoklch(45.41% 0.083 250.6)
XYZxyz(8.8865, 9.4110, 22.8165)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305983 #835A30
analogous
#308383 #305983 #303083
triadic
#305983 #833059 #598330
tetradic
#305983 #833083 #835A30 #308330
square
#305983 #833083 #835A30 #308330
split-complementary
#305983 #833030 #838330
monochromatic
#0F1C29 #203B56 #305983 #4077B0 #6696C7

Accessibility & contrast

On white

7.29
#305983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#305983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305983
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305983#FFFFFF#000000##FFFFFF
##3059831.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475B85
Deuteranopia (green-blind)
#3C5382
Tritanopia (blue-blind)
#006368
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #305983;
/* rgb */ color: rgb(48, 89, 131);
/* oklch */ color: oklch(45.4% 0.083 250.6);
Tailwind
colors: {
  custom: {
    50: '#7087a7',
    500: '#305983',
    950: '#000000',
  },
}
SCSS
$custom: #305983;
$custom-light: #7087a7;
$custom-dark: #000000;
JSON
{
  "hex": "#305983",
  "rgb": {
    "r": 48,
    "g": 89,
    "b": 131
  },
  "hsl": {
    "h": 210.361,
    "s": 46.369,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45412,
    "c": 0.08323,
    "h": 250.6
  },
  "luminance": 0.09412
}

Semantic roles & 50–950 ramp

primary
#305983
secondary
#AE8861
accent
#9552D6
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B0F
muted
#7B7C7F

Preview Lab

Preview with #305983

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

Preview Lab → · Contrast checker → · Palette generator →

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