#305990#305990

#305990 is a mid, moderate cyan. Relative luminance 0.098; OKLCH L 46.2% C 0.101 H 256.4°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#305990
RGBrgb(48, 89, 144)
HSLhsl(214, 50%, 38%)
HSVhsv(214, 67%, 56%)
CMYKcmyk(66.7%, 38.2%, 0%, 43.5%)
CIE-LABlab(37.46, 4.24, -34.64)
CIE-LCHlch(37.46, 34.90, 276.97°)
OKLaboklab(46.18% -0.0239 -0.0984)
OKLCHoklch(46.18% 0.101 256.4)
XYZxyz(9.8235, 9.7858, 27.7513)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305990 #906730
analogous
#308990 #305990 #373090
triadic
#305990 #903059 #599030
tetradic
#305990 #903089 #906730 #309037
square
#305990 #903089 #906730 #309037
split-complementary
#305990 #903730 #899030
monochromatic
#112034 #213D62 #305990 #3F75BE #6C96CE

Accessibility & contrast

On white

7.10
#305990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#305990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305990
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305990#FFFFFF#000000##FFFFFF
##3059901.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415D92
Deuteranopia (green-blind)
#33548F
Tritanopia (blue-blind)
#00666D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #305990;
/* rgb */ color: rgb(48, 89, 144);
/* oklch */ color: oklch(46.2% 0.101 256.4);
Tailwind
colors: {
  custom: {
    50: '#7387b1',
    500: '#305990',
    950: '#000000',
  },
}
SCSS
$custom: #305990;
$custom-light: #7387b1;
$custom-dark: #000000;
JSON
{
  "hex": "#305990",
  "rgb": {
    "r": 48,
    "g": 89,
    "b": 144
  },
  "hsl": {
    "h": 214.375,
    "s": 50,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46179,
    "c": 0.10127,
    "h": 256.4
  },
  "luminance": 0.09787
}

Semantic roles & 50–950 ramp

primary
#305990
secondary
#B59466
accent
#9E4EDA
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #305990

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

Preview Lab → · Contrast checker → · Palette generator →

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