#305B95#305B95

#305B95 is a mid, moderate cyan. Relative luminance 0.103; OKLCH L 47.0% C 0.106 H 256.5°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#305B95
RGBrgb(48, 91, 149)
HSLhsl(214, 51%, 39%)
HSVhsv(214, 68%, 58%)
CMYKcmyk(67.8%, 38.9%, 0%, 41.6%)
CIE-LABlab(38.34, 4.80, -36.26)
CIE-LCHlch(38.34, 36.57, 277.54°)
OKLaboklab(46.96% -0.0247 -0.1031)
OKLCHoklch(46.96% 0.106 256.5)
XYZxyz(10.3829, 10.2794, 29.8649)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305B95 #956A30
analogous
#308D95 #305B95 #373095
triadic
#305B95 #95305B #5B9530
tetradic
#305B95 #95308D #956A30 #309537
square
#305B95 #95308D #956A30 #309537
split-complementary
#305B95 #953730 #8D9530
monochromatic
#122238 #213F67 #305B95 #4178C2 #6F98D1

Accessibility & contrast

On white

6.87
#305B95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#305B95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305B95
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305B95#FFFFFF#000000##FFFFFF
##305B951.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415F97
Deuteranopia (green-blind)
#325694
Tritanopia (blue-blind)
#006871
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #305b95;
/* rgb */ color: rgb(48, 91, 149);
/* oklch */ color: oklch(47.0% 0.106 256.5);
Tailwind
colors: {
  custom: {
    50: '#7489b4',
    500: '#305b95',
    950: '#000000',
  },
}
SCSS
$custom: #305b95;
$custom-light: #7489b4;
$custom-dark: #000000;
JSON
{
  "hex": "#305b95",
  "rgb": {
    "r": 48,
    "g": 91,
    "b": 149
  },
  "hsl": {
    "h": 214.455,
    "s": 51.269,
    "l": 38.627
  },
  "oklch": {
    "l": 0.46959,
    "c": 0.10605,
    "h": 256.5
  },
  "luminance": 0.1028
}

Semantic roles & 50–950 ramp

primary
#305B95
secondary
#B89669
accent
#9E4DDB
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #305B95

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

Preview Lab → · Contrast checker → · Palette generator →

#305B95 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva