#305C95#305C95

#305C95 is a mid, moderate cyan. Relative luminance 0.105; OKLCH L 47.2% C 0.105 H 255.8°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#305C95
RGBrgb(48, 92, 149)
HSLhsl(214, 51%, 39%)
HSVhsv(214, 68%, 58%)
CMYKcmyk(67.8%, 38.3%, 0%, 41.6%)
CIE-LABlab(38.64, 4.15, -35.78)
CIE-LCHlch(38.64, 36.02, 276.62°)
OKLaboklab(47.19% -0.0258 -0.1017)
OKLCHoklch(47.19% 0.105 255.8)
XYZxyz(10.4689, 10.4515, 29.8936)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305C95 #956930
analogous
#308E95 #305C95 #363095
triadic
#305C95 #95305C #5C9530
tetradic
#305C95 #95308E #956930 #309536
square
#305C95 #95308E #956930 #309536
split-complementary
#305C95 #953630 #8E9530
monochromatic
#122338 #213F67 #305C95 #4179C2 #6F99D1

Accessibility & contrast

On white

6.79
#305C95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#305C95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305C95
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305C95#FFFFFF#000000##FFFFFF
##305C951.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436097
Deuteranopia (green-blind)
#345794
Tritanopia (blue-blind)
#006971
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #305c95;
/* rgb */ color: rgb(48, 92, 149);
/* oklch */ color: oklch(47.2% 0.105 255.8);
Tailwind
colors: {
  custom: {
    50: '#7489b4',
    500: '#305c95',
    950: '#000000',
  },
}
SCSS
$custom: #305c95;
$custom-light: #7489b4;
$custom-dark: #000000;
JSON
{
  "hex": "#305c95",
  "rgb": {
    "r": 48,
    "g": 92,
    "b": 149
  },
  "hsl": {
    "h": 213.861,
    "s": 51.269,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47194,
    "c": 0.10492,
    "h": 255.8
  },
  "luminance": 0.10453
}

Semantic roles & 50–950 ramp

primary
#305C95
secondary
#B89669
accent
#9D4DDB
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #305C95

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

Preview Lab → · Contrast checker → · Palette generator →

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